mirror of
https://github.com/brl/mutter.git
synced 2025-03-03 11:58:09 +00:00
* clutter/clutter-shader.[ch]: do not include GL.h.
This commit is contained in:
parent
e92b864dff
commit
4de11937e6
@ -1,3 +1,7 @@
|
||||
2007-12-03 Øyvind Kolås <pippin@o-hand.com>
|
||||
|
||||
* clutter/clutter-shader.[ch]: do not include GL.h.
|
||||
|
||||
2007-12-03 Øyvind Kolås <pippin@o-hand.com>
|
||||
|
||||
Support for shaders in clutter. At the moment limited to drivers
|
||||
|
@ -63,10 +63,10 @@ struct _ClutterShaderPrivate
|
||||
gchar *vertex_shader_source; /* source (or asm) for vertex shader */
|
||||
gchar *fragment_shader_source;/* source (or asm) for fragment shader*/
|
||||
|
||||
GLhandleARB program;
|
||||
COGLint program;
|
||||
|
||||
GLhandleARB vertex_shader;
|
||||
GLhandleARB fragment_shader;
|
||||
COGLint vertex_shader;
|
||||
COGLint fragment_shader;
|
||||
};
|
||||
|
||||
enum
|
||||
|
@ -28,7 +28,6 @@
|
||||
#ifndef CLUTTER_SHADER_H
|
||||
#define CLUTTER_SHADER_H
|
||||
|
||||
#include <GL/gl.h>
|
||||
#include <glib.h>
|
||||
#include <glib-object.h>
|
||||
|
||||
@ -72,7 +71,6 @@ void clutter_shader_set_uniform_1f (ClutterShader *self,
|
||||
gfloat value);
|
||||
/* should be private and internal */
|
||||
void clutter_shader_release_all (void);
|
||||
gboolean clutter_shader_has_glsl (void);
|
||||
|
||||
|
||||
G_END_DECLS
|
||||
|
Loading…
x
Reference in New Issue
Block a user