Changeset 472 for trunk/src/gui/gui_gfx_renderer.cc
- Timestamp:
- 09/28/15 12:44:21 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gui/gui_gfx_renderer.cc
r471 r472 12 12 13 13 static const char *nv_gui_vertex_shader = R"( 14 #version 1 2015 attributevec2 nv_position;16 attributevec2 nv_texcoord;17 attributevec4 nv_color;18 varyingvec4 v_color;19 varyingvec2 v_texcoord;14 #version 130 15 in vec2 nv_position; 16 in vec2 nv_texcoord; 17 in vec4 nv_color; 18 out vec4 v_color; 19 out vec2 v_texcoord; 20 20 uniform mat4 nv_m_projection; 21 21 void main(void) … … 28 28 29 29 static const char *nv_gui_fragment_shader = R"( 30 #version 1 2031 varyingvec4 v_color;32 varyingvec2 v_texcoord;30 #version 130 31 in vec4 v_color; 32 in vec2 v_texcoord; 33 33 uniform sampler2D nv_t_diffuse; 34 34 void main(void)
Note: See TracChangeset
for help on using the changeset viewer.