All pastes #1817146 Raw Edit

Unnamed

public text v1 · immutable
#1817146 ·published 2010-03-01 14:21 UTC
rendered paste body
Date:   Mon Mar 1 15:16:16 2010 +0100

build: fix compile error 1

src/gpu.cpp: In member function void geekinfo::GPU::gather_information():
src/gpu.cpp:15:58: error: GL_RENDERER was not declared in this scope
src/gpu.cpp:15:69: error: glGetString was not declared in this scope
src/gpu.cpp:16:56: error: GL_VENDOR was not declared in this scope
src/gpu.cpp:17:57: error: GL_VERSION was not declared in this scope
src/gpu.cpp:18:60: error: GL_EXTENSIONS was not declared in this scope
---
 src/gpu.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/gpu.cpp b/src/gpu.cpp
index 92c32a6..d5a9bb2 100644
--- a/src/gpu.cpp
+++ b/src/gpu.cpp
@@ -1,5 +1,6 @@
 #include "gpu.h"
 #include "glcontext.h"
+#include <GL/gl.h>
 
 namespace geekinfo {
   
--