Commit 9dee8850 authored by Vinson Lee's avatar Vinson Lee

fbo: Define GL_COLOR_ATTACHMENT0 if not defined.

Fixes build on Ubuntu 9.04.
parent 5a8d7ecb
......@@ -34,6 +34,10 @@
#include <string.h>
#include "piglit-util.h"
#ifndef GL_COLOR_ATTACHMENT0
#define GL_COLOR_ATTACHMENT0 0x8CE0
#endif
int piglit_width = 256;
int piglit_height = 256;
int piglit_window_mode = GLUT_RGB | GLUT_DOUBLE;
......
......@@ -34,6 +34,10 @@
#include <string.h>
#include "piglit-util.h"
#ifndef GL_COLOR_ATTACHMENT0
#define GL_COLOR_ATTACHMENT0 0x8CE0
#endif
int piglit_width = 256;
int piglit_height = 256;
int piglit_window_mode = GLUT_RGB | GLUT_DOUBLE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment