Now using OpenGL 4.0.

This commit is contained in:
Faerbit 2014-12-15 13:31:31 +01:00
parent 5640bf137e
commit f108b64acc
2 changed files with 3 additions and 3 deletions

View File

@ -6,8 +6,8 @@ add_subdirectory(converter)
PROJECT(MarbleRaceGroupC) PROJECT(MarbleRaceGroupC)
# ACGL setup # ACGL setup
SET(ACGL_OPENGL_SUPPORT CORE_32) SET(ACGL_OPENGL_SUPPORT CORE_40)
ADD_DEFINITIONS(-DACGL_OPENGL_VERSION_32) ADD_DEFINITIONS(-DACGL_OPENGL_VERSION_40)
ADD_DEFINITIONS(-DACGL_OPENGL_PROFILE_CORE) ADD_DEFINITIONS(-DACGL_OPENGL_PROFILE_CORE)
# create the newest availabe OpenGL context, independent of the ACGL version: # create the newest availabe OpenGL context, independent of the ACGL version:
#ADD_DEFINITIONS(-DGLFW_OPENGL_LATEST_VERSION) #ADD_DEFINITIONS(-DGLFW_OPENGL_LATEST_VERSION)

View File

@ -1,4 +1,4 @@
#version 150 #version 400
in vec3 vNormal; in vec3 vNormal;
in vec2 vTexCoord; in vec2 vTexCoord;