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:
Robert Osfield
2012-02-10 15:57:51 +00:00
parent 06e88f3b91
commit bd81dd5ff8
7 changed files with 27 additions and 5 deletions

View File

@@ -474,7 +474,10 @@ void Glyph::subload() const
}
glPixelStorei(GL_UNPACK_ALIGNMENT,getPacking());
#if !defined(OSG_GLES1_FEATURES) && !defined(OSG_GLES2_FEATURES)
glPixelStorei(GL_UNPACK_ROW_LENGTH,getRowLength());
#endif
glTexSubImage2D(GL_TEXTURE_2D,0,
_texturePosX,_texturePosY,