remove OpenGL/glu.h from gl3 headers (warning), replace some OpenGL definitions ARB/non-ARB

This commit is contained in:
=
2014-07-27 11:19:11 -07:00
parent 811087b099
commit c487170196
6 changed files with 24 additions and 17 deletions

View File

@@ -1,7 +1,7 @@
#ifndef SHAPE_DATA_H
#define SHAPE_DATA_H
#if USE_BARREL_VERTICES
#ifdef USE_BARREL_VERTICES
static float barrel_vertices[] = {
0.0f,-0.5f,0.0f, 1.0f, 0.0f,-1.0f,0.0f, 0.5f, 0.5f,
0.282362f,-0.5f,-0.205148f, 1.0f, 0.0f,-1.0f,0.0f, 0.5f, 0.5f,