Fix for *nix build

This commit is contained in:
Prcuvu
2019-10-03 12:17:53 +08:00
parent dea6917f02
commit 1fa9bb387c
4 changed files with 12 additions and 12 deletions
+5 -5
View File
@@ -559,7 +559,7 @@ RageDisplay_GLES2::SupportsPerVertexMatrixScale()
return true;
}
unsigned
uintptr_t
RageDisplay_GLES2::CreateTexture(
RagePixelFormat pixfmt,
RageSurface* img,
@@ -572,7 +572,7 @@ RageDisplay_GLES2::CreateTexture(
void
RageDisplay_GLES2::UpdateTexture(
unsigned iTexHandle,
uintptr_t iTexHandle,
RageSurface* img,
int xoffset, int yoffset, int width, int height
)
@@ -581,7 +581,7 @@ RageDisplay_GLES2::UpdateTexture(
}
void
RageDisplay_GLES2::DeleteTexture( unsigned iTexHandle )
RageDisplay_GLES2::DeleteTexture( uintptr_t iTexHandle )
{
// TODO
}
@@ -613,7 +613,7 @@ SetTextureUnit( TextureUnit tu )
}
void
RageDisplay_GLES2::SetTexture( TextureUnit tu, unsigned iTexture )
RageDisplay_GLES2::SetTexture( TextureUnit tu, uintptr_t iTexture )
{
if (!SetTextureUnit( tu ))
return;
@@ -621,7 +621,7 @@ RageDisplay_GLES2::SetTexture( TextureUnit tu, unsigned iTexture )
if (iTexture)
{
glEnable( GL_TEXTURE_2D );
glBindTexture( GL_TEXTURE_2D, iTexture );
glBindTexture( GL_TEXTURE_2D, static_cast<GLuint>(iTexture) );
}
else
{