Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
9.2.2023: Due to updates GitLab will be unavailable for some minutes between 9:00 and 11:00.
Open sidebar
CAMP
campvis-public
Commits
daf5ef93
Commit
daf5ef93
authored
Nov 28, 2014
by
Declara Denis
Committed by
Christian Schulte zu Berge
Feb 18, 2015
Browse files
Fixed silly mistake in GlImageResampler
parent
752ccbc4
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/preprocessing/processors/glimageresampler.cpp
View file @
daf5ef93
...
...
@@ -61,11 +61,11 @@ namespace campvis {
void
GlImageResampler
::
init
()
{
VisualizationProcessor
::
init
();
_shader2D
=
ShdrMgr
.
load
(
"core/glsl/passthrough.vert"
,
"modules/preprocessing/glsl/glimageresampler.frag"
,
"#define GLRESAMPLER_
3
D
\n
"
);
_shader2D
=
ShdrMgr
.
load
(
"core/glsl/passthrough.vert"
,
"modules/preprocessing/glsl/glimageresampler.frag"
,
"#define GLRESAMPLER_
2
D
\n
"
);
_shader2D
->
setAttributeLocation
(
0
,
"in_Position"
);
_shader2D
->
setAttributeLocation
(
1
,
"in_TexCoord"
);
_shader3D
=
ShdrMgr
.
load
(
"core/glsl/passthrough.vert"
,
"modules/preprocessing/glsl/glimageresampler.frag"
,
"#define GLRESAMPLER_
2
D
\n
"
);
_shader3D
=
ShdrMgr
.
load
(
"core/glsl/passthrough.vert"
,
"modules/preprocessing/glsl/glimageresampler.frag"
,
"#define GLRESAMPLER_
3
D
\n
"
);
_shader3D
->
setAttributeLocation
(
0
,
"in_Position"
);
_shader3D
->
setAttributeLocation
(
1
,
"in_TexCoord"
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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