[Bug 721903] New: missing glScalef declare in prototypes

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Jan 9 18:59:24 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=721903
  GStreamer | gst-plugins-gl | 1.2.0

           Summary: missing glScalef declare in prototypes
    Classification: Platform
           Product: GStreamer
           Version: 1.2.0
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-gl
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: comicfans44 at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=265891)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=265891)
add Scalef declare to glprototypes

I'm not sure this is correct way to modify glprototypes ,
 gl_vtable->Scalef is undefined but Rotatef/Translatef is there.
this misc patch just add Scalef:

0001-add-missed-glScalef-declare.patch

>From 0e1e1a6bf86b301ebaa0d1595f0784fa2cbe8033 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?"Wang=20Xin-yu=20(=E7=8E=8B=E6=98=95=E5=AE=87)"?=
 <comicfans44 at gmail.com>
Date: Fri, 10 Jan 2014 02:50:14 +0800
Subject: [PATCH] add missed glScalef declare

---
 gst-libs/gst/gl/glprototypes/opengl.h |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/gst-libs/gst/gl/glprototypes/opengl.h
b/gst-libs/gst/gl/glprototypes/opengl.h
index 10d93fa..5a70f1e 100644
--- a/gst-libs/gst/gl/glprototypes/opengl.h
+++ b/gst-libs/gst/gl/glprototypes/opengl.h
@@ -154,6 +154,8 @@ GST_GL_EXT_FUNCTION (void, Rotatef,
                      (GLfloat angle, GLfloat x, GLfloat y, GLfloat z))
 GST_GL_EXT_FUNCTION (void, Translatef,
                      (GLfloat x, GLfloat y, GLfloat z))
+GST_GL_EXT_FUNCTION (void, Scalef,
+                     (GLfloat x, GLfloat y, GLfloat z))
 GST_GL_EXT_FUNCTION (void, Lightfv,
                      (GLenum light, GLenum pname, const GLfloat *params))
 GST_GL_EXT_FUNCTION (void, ColorMaterial,
-- 
1.7.9.5

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list