forked from organicmaps/organicmaps
[opengl] Disabled mapbuffer extension to avoid constant crashes on iOS. TODO: remove unused code completely.
This commit is contained in:
parent
dfd85d9a9a
commit
d9819a0af6
4 changed files with 4 additions and 4 deletions
|
@ -106,7 +106,7 @@ namespace graphics
|
|||
void (OPENGL_CALLING_CONVENTION * glFlushFn)();
|
||||
|
||||
bool g_isBufferObjectsSupported = true;
|
||||
bool g_isMapBufferSupported = true;
|
||||
bool g_isMapBufferSupported = false; //true;
|
||||
bool g_isFramebufferSupported = true;
|
||||
bool g_isRenderbufferSupported = true;
|
||||
bool g_isSeparateBlendFuncSupported = false;
|
||||
|
|
|
@ -58,7 +58,7 @@ namespace graphics
|
|||
glBufferSubDataFn = &glBufferSubData;
|
||||
glDeleteBuffersFn = &glDeleteBuffers;
|
||||
|
||||
g_isMapBufferSupported = HasExtension("GL_OES_mapbuffer");
|
||||
g_isMapBufferSupported = false; //HasExtension("GL_OES_mapbuffer");
|
||||
|
||||
#ifdef OMIM_OS_MAEMO
|
||||
glMapBufferFn = 0;
|
||||
|
|
|
@ -40,7 +40,7 @@ namespace graphics
|
|||
glBufferSubDataFn = &glBufferSubData;
|
||||
glDeleteBuffersFn = &glDeleteBuffers;
|
||||
|
||||
g_isMapBufferSupported = g_isBufferObjectsSupported;
|
||||
g_isMapBufferSupported = false; //g_isBufferObjectsSupported;
|
||||
|
||||
glMapBufferFn = &glMapBuffer;
|
||||
glUnmapBufferFn = &glUnmapBuffer;
|
||||
|
|
|
@ -55,7 +55,7 @@ namespace graphics
|
|||
glBufferSubDataFn = &glBufferSubData;
|
||||
glDeleteBuffersFn = &glDeleteBuffers;
|
||||
|
||||
g_isMapBufferSupported = true;
|
||||
g_isMapBufferSupported = false; //true;
|
||||
|
||||
glMapBufferFn = &glMapBuffer;
|
||||
glUnmapBufferFn = &glUnmapBuffer;
|
||||
|
|
Loading…
Add table
Reference in a new issue