Kaydet (Commit) 46bfd493 authored tarafından Markus Mohrhard's avatar Markus Mohrhard Kaydeden (comit) Markus Mohrhard

make sure it is really the glGenTextures call

that one is actually not allowed to create a GL_INVALID_OPERATION in
OpenGL 3.3+

Change-Id: I853c63cfd7a30d4f61e562082cc24959c0fe6c07
üst a284def4
......@@ -1509,6 +1509,7 @@ int OpenGLRender::CreateTextTexture(::rtl::OUString textValue, sal_uInt32 color,
}
CHECK_GL_ERROR();
glGenTextures(1, &m_TextInfo.texture);
CHECK_GL_ERROR();
glBindTexture(GL_TEXTURE_2D, m_TextInfo.texture);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment