Changeset 504 for trunk/src/gfx
- Timestamp:
- 07/04/16 20:05:33 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gfx/debug_draw.cc
r501 r504 11 11 12 12 static const char *nv_debug_draw_vertex_shader = R"( 13 #version 12014 attributevec3 nv_position;15 attributevec3 nv_color;16 varyingvec3 v_color;13 #version 330 14 in vec3 nv_position; 15 in vec3 nv_color; 16 out vec3 v_color; 17 17 uniform mat4 nv_m_mvp; 18 18 void main(void) … … 23 23 )"; 24 24 static const char *nv_debug_draw_fragment_shader = R"( 25 #version 12026 varyingvec3 v_color;25 #version 330 26 in vec3 v_color; 27 27 out vec4 o_frag_color; 28 28 void main(void)
Note: See TracChangeset
for help on using the changeset viewer.