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
Unmaintained
KDE Workspace
Commits
8ba7e86a
Commit
8ba7e86a
authored
Jan 30, 2011
by
Martin Flöser
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Binding shaders moved explicitly to ShaderManager.
parent
78f9b3b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
kwin/lib/kwinglutils.h
kwin/lib/kwinglutils.h
+2
-2
No files found.
kwin/lib/kwinglutils.h
View file @
8ba7e86a
...
...
@@ -278,8 +278,6 @@ class KWIN_EXPORT GLShader
~
GLShader
();
bool
isValid
()
const
{
return
mValid
;
}
void
bind
();
void
unbind
();
int
uniformLocation
(
const
char
*
name
);
bool
setUniform
(
const
char
*
name
,
float
value
);
...
...
@@ -311,6 +309,8 @@ class KWIN_EXPORT GLShader
GLShader
();
bool
loadFromFiles
(
const
QString
&
vertexfile
,
const
QString
&
fragmentfile
);
bool
load
(
const
QString
&
vertexsource
,
const
QString
&
fragmentsource
);
void
bind
();
void
unbind
();
private:
...
...
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