Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenFlipper-Free
OpenFlipper-Free
Commits
3ba8782c
Commit
3ba8782c
authored
Nov 30, 2015
by
Christopher Tenter
Browse files
fix depth-range initialization of render objects
parent
a171e118
Pipeline
#194
passed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ACG/GL/RenderObject.cc
View file @
3ba8782c
...
...
@@ -103,9 +103,7 @@ void RenderObject::initFromState( GLState* _glState )
_glState
->
getBlendFunc
(
&
blendSrc
,
&
blendDest
);
GLclampd
zn
,
zf
;
_glState
->
getDepthRange
(
&
zn
,
&
zf
);
depthRange
=
Vec2f
(
zn
,
zf
);
glGetFloatv
(
GL_DEPTH_RANGE
,
depthRange
.
data
());
depthFunc
=
_glState
->
depthFunc
();
...
...
Write
Preview
Supports
Markdown
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