mirror of
https://gitlab.com/shinovon/re3-symbian.git
synced 2026-05-23 01:57:21 +03:00
Fix compilation with older sdk
This commit is contained in:
parent
52e1b18729
commit
9adfa881b3
5 changed files with 16 additions and 8 deletions
6
vendor/librw/src/gles1/gl1device.cpp
vendored
6
vendor/librw/src/gles1/gl1device.cpp
vendored
|
|
@ -457,7 +457,7 @@ setFilterMode(uint32 stage, int32 filter, int32 maxAniso = 1)
|
|||
}
|
||||
if(natras->maxAnisotropy != maxAniso){
|
||||
setActiveTexture(stage);
|
||||
glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAX_ANISOTROPY_EXT, (float)maxAniso);
|
||||
// glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAX_ANISOTROPY_EXT, (float)maxAniso);
|
||||
natras->maxAnisotropy = maxAniso;
|
||||
}
|
||||
}
|
||||
|
|
@ -1365,10 +1365,6 @@ initOpenGL(void)
|
|||
|
||||
resetRenderState();
|
||||
|
||||
#ifndef __SYMBIAN32__
|
||||
glGetFloatv(GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT, &maxAnisotropy);
|
||||
#endif
|
||||
|
||||
glEnable(GL_NORMALIZE);
|
||||
|
||||
openIm2D();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue