From Stephan Huber, attached you'll find a compile fix for the new introduced rowlength-feature on IOS/OpenGL ES builds
This commit is contained in:
@@ -1922,9 +1922,9 @@ void Texture::applyTexImage2D_load(State& state, GLenum target, const Image* ima
|
||||
{
|
||||
pbo = 0;
|
||||
}
|
||||
|
||||
#if !defined(OSG_GLES1_FEATURES) && !defined(OSG_GLES2_FEATURES)
|
||||
glPixelStorei(GL_UNPACK_ROW_LENGTH,rowLength);
|
||||
|
||||
#endif
|
||||
if( !mipmappingRequired || useHardwareMipMapGeneration)
|
||||
{
|
||||
|
||||
@@ -2177,9 +2177,9 @@ void Texture::applyTexImage2D_subload(State& state, GLenum target, const Image*
|
||||
{
|
||||
pbo = 0;
|
||||
}
|
||||
|
||||
#if !defined(OSG_GLES1_FEATURES) && !defined(OSG_GLES2_FEATURES)
|
||||
glPixelStorei(GL_UNPACK_ROW_LENGTH,rowLength);
|
||||
|
||||
#endif
|
||||
if( !mipmappingRequired || useHardwareMipMapGeneration)
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user