14 |
#include "libcolor/spaces.hxx" |
#include "libcolor/spaces.hxx" |
15 |
#include "libtext/Text.hxx" |
#include "libtext/Text.hxx" |
16 |
|
|
17 |
|
#include <map> // XXX: used by ../demo/clamptexture.cxx hack |
18 |
|
|
19 |
#define GLERR { int er = glGetError(); if(er != GL_NO_ERROR) \ |
#define GLERR { int er = glGetError(); if(er != GL_NO_ERROR) \ |
20 |
cout << "===== OPENGL ERROR "<<__FILE__<<" "<<__LINE__ \ |
cout << "===== OPENGL ERROR "<<__FILE__<<" "<<__LINE__ \ |
21 |
<<" "<<gluErrorString(er)<<"\n"; \ |
<<" "<<gluErrorString(er)<<"\n"; \ |