Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CGoGN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
CGoGN
CGoGN
Commits
670639f1
Commit
670639f1
authored
Apr 14, 2015
by
Sylvain Thery
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shader bug
parent
519aeb8c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
CGoGN/src/Utils/Shaders/shaderBoldColorLines.cpp
CGoGN/src/Utils/Shaders/shaderBoldColorLines.cpp
+1
-1
CGoGN/src/Utils/Shaders/shaderBoldLines.cpp
CGoGN/src/Utils/Shaders/shaderBoldLines.cpp
+1
-1
No files found.
CGoGN/src/Utils/Shaders/shaderBoldColorLines.cpp
View file @
670639f1
...
...
@@ -55,7 +55,7 @@ ShaderBoldColorLines::ShaderBoldColorLines() :
std
::
string
glxfrag
(
GLSLShader
::
defines_gl
());
glxfrag
.
append
(
fragmentShaderText
);
loadShadersFromMemory
(
glxvert
.
c_str
(),
glxfrag
.
c_str
(),
glxgeom
.
c_str
(),
GL_LINES
,
GL_
LINE_STRIP
,
6
);
loadShadersFromMemory
(
glxvert
.
c_str
(),
glxfrag
.
c_str
(),
glxgeom
.
c_str
(),
GL_LINES
,
GL_
TRIANGLE_STRIP
,
6
);
// get and fill uniforms
getLocations
();
...
...
CGoGN/src/Utils/Shaders/shaderBoldLines.cpp
View file @
670639f1
...
...
@@ -53,7 +53,7 @@ ShaderBoldLines::ShaderBoldLines() :
std
::
string
glxfrag
(
GLSLShader
::
defines_gl
());
glxfrag
.
append
(
fragmentShaderText
);
loadShadersFromMemory
(
glxvert
.
c_str
(),
glxfrag
.
c_str
(),
glxgeom
.
c_str
(),
GL_LINES
,
GL_
LIN
E_STRIP
,
6
);
loadShadersFromMemory
(
glxvert
.
c_str
(),
glxfrag
.
c_str
(),
glxgeom
.
c_str
(),
GL_LINES
,
GL_
TRIANGL
E_STRIP
,
6
);
// get and fill uniforms
getLocations
();
...
...
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