Mercurial > hg > aimc
comparison src/Modules/Output/Graphics/Devices/GraphicsOutputDevicewxGLCanvas.cc @ 237:af02b6addf7a
- Added support for movies!
author | tomwalters |
---|---|
date | Thu, 21 Oct 2010 01:46:39 +0000 |
parents | 82e0dc3dfd16 |
children |
comparison
equal
deleted
inserted
replaced
236:4fb328f81012 | 237:af02b6addf7a |
---|---|
267 if (!extensions) { | 267 if (!extensions) { |
268 AIM_INFO(_T("Could not query OpenGL extensions, vertex arrays disabled")); | 268 AIM_INFO(_T("Could not query OpenGL extensions, vertex arrays disabled")); |
269 } else if (strstr(extensions, "GL_EXT_compiled_vertex_array")) { | 269 } else if (strstr(extensions, "GL_EXT_compiled_vertex_array")) { |
270 m_glLockArraysEXT = (LOCAL_PFNGLLOCKARRAYSEXTPROC)GL_GET_PROC_ADDRESS("glLockArraysEXT"); | 270 m_glLockArraysEXT = (LOCAL_PFNGLLOCKARRAYSEXTPROC)GL_GET_PROC_ADDRESS("glLockArraysEXT"); |
271 m_glUnlockArraysEXT = (LOCAL_PFNGLUNLOCKARRAYSEXTPROC)GL_GET_PROC_ADDRESS("glUnlockArraysEXT"); | 271 m_glUnlockArraysEXT = (LOCAL_PFNGLUNLOCKARRAYSEXTPROC)GL_GET_PROC_ADDRESS("glUnlockArraysEXT"); |
272 if(!m_glLockArraysEXT || !m_glUnlockArraysEXT) | 272 if (!m_glLockArraysEXT || !m_glUnlockArraysEXT) |
273 AIM_ERROR(_T("OpenGL error on GL_EXT_compiled_vertex_array")); | 273 AIM_ERROR(_T("OpenGL error on GL_EXT_compiled_vertex_array")); |
274 else | 274 else |
275 m_bVertexArrayLock = true; | 275 m_bVertexArrayLock = true; |
276 } | 276 } |
277 } | 277 } |