Fix for *nix build
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user