mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 05:50:10 +00:00
gltexture: Deprecate gdk_gl_texture_new()
Use GdkGLTextureBuilder instead.
This commit is contained in:
parent
76e5fd0ece
commit
18a4b2475e
@ -485,6 +485,9 @@ gdk_gl_texture_determine_format (GdkGLTexture *self)
|
||||
*
|
||||
* Return value: (transfer full) (type GdkGLTexture): A newly-created
|
||||
* `GdkTexture`
|
||||
*
|
||||
* Deprecated: 4.12: [class@Gdk.GLTextureBuilder] supercedes this function
|
||||
* and provides extended functionality for creating GL textures.
|
||||
*/
|
||||
GdkTexture *
|
||||
gdk_gl_texture_new (GdkGLContext *context,
|
||||
|
@ -38,7 +38,7 @@ typedef struct _GdkGLTextureClass GdkGLTextureClass;
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GType gdk_gl_texture_get_type (void) G_GNUC_CONST;
|
||||
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
GDK_DEPRECATED_IN_4_12_FOR(GdkGLTextureBuilder)
|
||||
GdkTexture * gdk_gl_texture_new (GdkGLContext *context,
|
||||
guint id,
|
||||
int width,
|
||||
|
Loading…
Reference in New Issue
Block a user