From f9b9563a1bc3c9f28ee8dd0219b85fda5045fb5a Mon Sep 17 00:00:00 2001 From: zilmar Date: Wed, 9 Aug 2017 08:33:31 +1000 Subject: [PATCH] [Video] Change FxFloat to float --- Source/Project64-video/Renderer/OGLESglitchmain.cpp | 2 +- Source/Project64-video/Renderer/OGLglitchmain.cpp | 2 +- Source/Project64-video/Renderer/Renderer.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Project64-video/Renderer/OGLESglitchmain.cpp b/Source/Project64-video/Renderer/OGLESglitchmain.cpp index e932e0ed3..0a0075206 100644 --- a/Source/Project64-video/Renderer/OGLESglitchmain.cpp +++ b/Source/Project64-video/Renderer/OGLESglitchmain.cpp @@ -1600,7 +1600,7 @@ void gfxGetGammaTableExt(uint32_t nentries, uint32_t *red, uint32_t *green, uint return; } -void gfxGammaCorrectionRGB(FxFloat gammaR, FxFloat gammaG, FxFloat gammaB) +void gfxGammaCorrectionRGB(float gammaR, float gammaG, float gammaB) { } diff --git a/Source/Project64-video/Renderer/OGLglitchmain.cpp b/Source/Project64-video/Renderer/OGLglitchmain.cpp index 2a551e166..216d9bfa4 100644 --- a/Source/Project64-video/Renderer/OGLglitchmain.cpp +++ b/Source/Project64-video/Renderer/OGLglitchmain.cpp @@ -1935,7 +1935,7 @@ void gfxGetGammaTableExt(uint32_t /*nentries*/, uint32_t *red, uint32_t *green, } } -void gfxGammaCorrectionRGB(FxFloat gammaR, FxFloat gammaG, FxFloat gammaB) +void gfxGammaCorrectionRGB(float gammaR, float gammaG, float gammaB) { WriteTrace(TraceGlitch, TraceDebug, "-"); diff --git a/Source/Project64-video/Renderer/Renderer.h b/Source/Project64-video/Renderer/Renderer.h index e13fbb850..e944b27fc 100644 --- a/Source/Project64-video/Renderer/Renderer.h +++ b/Source/Project64-video/Renderer/Renderer.h @@ -64,7 +64,7 @@ bool gfxLfbWriteRegion(gfxBuffer_t dst_buffer, uint32_t dst_x, uint32_t dst_y, g uint32_t gfxTexCalcMemRequired(gfxLOD_t lodmin, gfxLOD_t lodmax, gfxAspectRatio_t aspect, gfxTextureFormat_t fmt); void gfxLoadGammaTable(uint32_t nentries, uint32_t *red, uint32_t *green, uint32_t *blue); void gfxGetGammaTableExt(uint32_t /*nentries*/, uint32_t *red, uint32_t *green, uint32_t *blue); -void gfxGammaCorrectionRGB(FxFloat gammaR, FxFloat gammaG, FxFloat gammaB); +void gfxGammaCorrectionRGB(float gammaR, float gammaG, float gammaB); void gfxTexDownloadMipMap(gfxChipID_t tmu, uint32_t startAddress, uint32_t evenOdd, gfxTexInfo *info); void gfxTexSource(gfxChipID_t tmu, uint32_t startAddress, uint32_t evenOdd, gfxTexInfo *info); void gfxTexDetailControl(gfxChipID_t tmu, int lod_bias, FxU8 detail_scale, float detail_max);