diff --git a/Source/Project64-video/Renderer/OGLEScombiner.cpp b/Source/Project64-video/Renderer/OGLEScombiner.cpp index d1df95128..ad5b3d455 100644 --- a/Source/Project64-video/Renderer/OGLEScombiner.cpp +++ b/Source/Project64-video/Renderer/OGLEScombiner.cpp @@ -1702,7 +1702,7 @@ void setPattern() glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); } -void gfxStippleMode(GrStippleMode_t mode) +void gfxStippleMode(gfxStippleMode_t mode) { WriteTrace(TraceGlitch, TraceDebug, "mode: %d", mode); switch (mode) diff --git a/Source/Project64-video/Renderer/OGLcombiner.cpp b/Source/Project64-video/Renderer/OGLcombiner.cpp index bc0b6d376..81887c125 100644 --- a/Source/Project64-video/Renderer/OGLcombiner.cpp +++ b/Source/Project64-video/Renderer/OGLcombiner.cpp @@ -1661,7 +1661,7 @@ void setPattern() grDisplayGLError("setPattern"); } -void gfxStippleMode(GrStippleMode_t mode) +void gfxStippleMode(gfxStippleMode_t mode) { WriteTrace(TraceGlitch, TraceDebug, "mode: %d", mode); switch (mode) diff --git a/Source/Project64-video/Renderer/Renderer.h b/Source/Project64-video/Renderer/Renderer.h index 3a991407f..5656dba34 100644 --- a/Source/Project64-video/Renderer/Renderer.h +++ b/Source/Project64-video/Renderer/Renderer.h @@ -34,7 +34,7 @@ void gfxFogGenerateLinear(float nearZ, float farZ); void gfxFogColorValue(gfxColor_t fogcolor); void gfxChromakeyMode(gfxChromakeyMode_t mode); void gfxChromakeyValue(gfxColor_t value); -void gfxStippleMode(GrStippleMode_t mode); +void gfxStippleMode(gfxStippleMode_t mode); void gfxColorCombineExt(gfxCCUColor_t a, gfxCombineMode_t a_mode, gfxCCUColor_t b, gfxCombineMode_t b_mode, gfxCCUColor_t c, bool c_invert, gfxCCUColor_t d, bool d_invert, uint32_t shift, bool invert); void gfxAlphaCombineExt(gfxACUColor_t a, gfxCombineMode_t a_mode, gfxACUColor_t b, gfxCombineMode_t b_mode, gfxACUColor_t c, bool c_invert, gfxACUColor_t d, bool d_invert, uint32_t shift, bool invert); void gfxTexColorCombineExt(gfxChipID_t tmu, gfxTCCUColor_t a, gfxCombineMode_t a_mode, gfxTCCUColor_t b, gfxCombineMode_t b_mode, gfxTCCUColor_t c, bool c_invert, gfxTCCUColor_t d, bool d_invert, uint32_t shift, bool invert); diff --git a/Source/Project64-video/Renderer/types.h b/Source/Project64-video/Renderer/types.h index 76949e5cc..245765f32 100644 --- a/Source/Project64-video/Renderer/types.h +++ b/Source/Project64-video/Renderer/types.h @@ -17,6 +17,7 @@ typedef uint8_t gfxAlpha_t; typedef uint32_t gfxColor_t; +typedef int32_t gfxStippleMode_t; typedef uint32_t gfxCCUColor_t; typedef uint32_t gfxACUColor_t; typedef uint32_t gfxTCCUColor_t;