Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
CGoGN
CGoGN
Commits
16205b9e
Commit
16205b9e
authored
Feb 01, 2015
by
kvanhoey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug in GLSLShader: #define PRECISON -> PRECISION (typo)
parent
16a8470d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/Utils/GLSLShader.cpp
src/Utils/GLSLShader.cpp
+2
-2
No files found.
src/Utils/GLSLShader.cpp
View file @
16205b9e
...
...
@@ -52,7 +52,7 @@ unsigned int GLSLShader::MINOR_OGL_CORE = 3;
std
::
string
GLSLShader
::
DEFINES_GL2
=
\
"#version 110
\n
"
"#define PRECISON float pipo_PRECISION
\n
"
"#define PRECIS
I
ON float pipo_PRECISION
\n
"
"#define ATTRIBUTE attribute
\n
"
"#define VARYING_VERT varying
\n
"
"#define VARYING_FRAG varying
\n
"
...
...
@@ -63,7 +63,7 @@ std::string GLSLShader::DEFINES_GL2=\
std
::
string
GLSLShader
::
DEFINES_GL3
=
\
"#version 150
\n
"
"#define PRECISON precision highp float
\n
"
"#define PRECIS
I
ON precision highp float
\n
"
"#define ATTRIBUTE in
\n
"
"#define VARYING_VERT out
\n
"
"#define VARYING_FRAG in
\n
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment