mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 05:40:01 -06:00
Small fix to the previous commit.
This commit is contained in:
@ -243,6 +243,9 @@ void GetSafePixelShaderId(PIXELSHADERUIDSAFE *uid, DSTALPHA_MODE dstAlphaMode)
|
||||
|
||||
void ValidatePixelShaderIDs(API_TYPE api, PIXELSHADERUIDSAFE old_id, const std::string& old_code, DSTALPHA_MODE dstAlphaMode, u32 components)
|
||||
{
|
||||
if (!g_ActiveConfig.bEnableShaderDebugging)
|
||||
return;
|
||||
|
||||
PIXELSHADERUIDSAFE new_id;
|
||||
GetSafePixelShaderId(&new_id, dstAlphaMode);
|
||||
|
||||
|
@ -93,6 +93,9 @@ void GetSafeVertexShaderId(VERTEXSHADERUIDSAFE *uid, u32 components)
|
||||
|
||||
void ValidateVertexShaderIDs(API_TYPE api, VERTEXSHADERUIDSAFE old_id, const std::string& old_code, u32 components)
|
||||
{
|
||||
if (!g_ActiveConfig.bEnableShaderDebugging)
|
||||
return;
|
||||
|
||||
VERTEXSHADERUIDSAFE new_id;
|
||||
GetSafeVertexShaderId(&new_id, components);
|
||||
|
||||
|
Reference in New Issue
Block a user