fix pedantic gcc compile errors
This commit is contained in:
parent
d219cccb49
commit
93186fb640
|
@ -562,7 +562,7 @@ static void setTexture(unsigned int format, unsigned int texpal)
|
|||
{
|
||||
currTexture->deleteCallback = texDeleteCallback;
|
||||
if(freeTextureIds.empty()) expandFreeTextures();
|
||||
currTexture->texid = (void*)freeTextureIds.front();
|
||||
currTexture->texid = (u32)freeTextureIds.front();
|
||||
freeTextureIds.pop();
|
||||
|
||||
glBindTexture(GL_TEXTURE_2D,(GLuint)currTexture->texid);
|
||||
|
|
|
@ -44,7 +44,7 @@ public:
|
|||
u32 sizeX, sizeY;
|
||||
float invSizeX, invSizeY;
|
||||
|
||||
void* texid; //used by ogl renderer for the texid
|
||||
u32 texid; //used by ogl renderer for the texid
|
||||
void (*deleteCallback)(ADPCMCacheItem*);
|
||||
|
||||
TexCache_TexFormat cacheFormat;
|
||||
|
|
Loading…
Reference in New Issue