|
From: Lasse Kärkkäi. <tr...@us...> - 2011-07-06 23:35:40
|
Author: Lasse Karkkainen <tro...@tr...>
Date: Wed May 25 04:38:12 2011 +0300
Fix segfault in glGetError on Gallium3D due to a call to that being done before OpenGL context was setup.
---
game/video_driver.cc | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/game/video_driver.cc b/game/video_driver.cc
index 21ed9ff..06e7b09 100644
--- a/game/video_driver.cc
+++ b/game/video_driver.cc
@@ -289,7 +289,6 @@ void Window::screenshot() {
void Window::resize() {
- glutil::GLErrorChecker glerror("Window::resize");
unsigned width = m_fullscreen ? m_fsW : m_windowW;
unsigned height = m_fullscreen ? m_fsH : m_windowH;
{ // Setup GL attributes for context creation
|