After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 721903 - Add missing glScalef declaration to prototypes
Add missing glScalef declaration to prototypes
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-gl
1.2.0
Other All
: Normal normal
: 1.2.0
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-01-10 02:59 UTC by comicfans44
Modified: 2014-01-10 08:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
add Scalef declare to glprototypes (1.00 KB, patch)
2014-01-10 02:59 UTC, comicfans44
committed Details | Review

Description comicfans44 2014-01-10 02:59:18 UTC
Created attachment 265891 [details] [review]
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@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
Comment 1 Sebastian Dröge (slomo) 2014-01-10 08:59:20 UTC
commit be01f2e28064228947b8f49715f69b7f34a62c3b
Author: Wang Xin-yu (王昕宇) <comicfans44@gmail.com>
Date:   Fri Jan 10 02:50:14 2014 +0800

    glprototypes: Add missing glScalef declare
    
    https://bugzilla.gnome.org/show_bug.cgi?id=721903