gst-plugins-bad: opengl: Change GLclampd to double
Martin Kelly
martin at surround.io
Sat Aug 15 09:13:08 PDT 2015
On Sat, Aug 15, 2015 at 1:03 AM, Sebastian Dröge <
slomo at kemper.freedesktop.org> wrote:
> Module: gst-plugins-bad
> Branch: master
> Commit: f4a76139db91b298605af486f632fae71956fa7e
> URL:
> http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=f4a76139db91b298605af486f632fae71956fa7e
>
> Author: Sebastian Dröge <sebastian at centricular.com>
> Date: Sat Aug 15 10:03:07 2015 +0200
>
> opengl: Change GLclampd to double
>
> GLclampd does not exist on GLES, only desktop GL.
>
> ---
>
> gst-libs/gst/gl/glprototypes/opengl.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gst-libs/gst/gl/glprototypes/opengl.h
> b/gst-libs/gst/gl/glprototypes/opengl.h
> index e8fbfbb..ac47d52 100644
> --- a/gst-libs/gst/gl/glprototypes/opengl.h
> +++ b/gst-libs/gst/gl/glprototypes/opengl.h
> @@ -58,7 +58,7 @@ GST_GL_EXT_FUNCTION (void, DepthRange,
> GST_GL_EXT_FUNCTION (void, DrawBuffer,
> (GLenum mode))
> GST_GL_EXT_FUNCTION (void, ClearDepth,
> - (GLclampd depth))
> + (double depth))
> GST_GL_EXT_END ()
>
> GST_GL_EXT_BEGIN (only_in_big_gl_compat,
>
>
Good catch, I missed that. However, should we be using GLdouble instead of
double? We use normal opengl types (e.g. GLenum, GLvoid, GLint)
consistently everywhere else, but raw double here.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150815/91efc577/attachment.html>
More information about the gstreamer-devel
mailing list