forked from AuroraMiddleware/gtk
ngl: Cosmetics
Move _GskNglTextureState to the one place it is used.
This commit is contained in:
parent
670659bcba
commit
bfcc2da2ce
@ -43,12 +43,6 @@
|
|||||||
#define ATLAS_SIZE 512
|
#define ATLAS_SIZE 512
|
||||||
#define MAX_OLD_RATIO 0.5
|
#define MAX_OLD_RATIO 0.5
|
||||||
|
|
||||||
typedef struct _GskNglTextureState
|
|
||||||
{
|
|
||||||
GdkGLContext *context;
|
|
||||||
GLuint texture_id;
|
|
||||||
} GskNglTextureState;
|
|
||||||
|
|
||||||
G_DEFINE_TYPE (GskNglDriver, gsk_ngl_driver, G_TYPE_OBJECT)
|
G_DEFINE_TYPE (GskNglDriver, gsk_ngl_driver, G_TYPE_OBJECT)
|
||||||
|
|
||||||
static guint
|
static guint
|
||||||
@ -1292,6 +1286,11 @@ gsk_ngl_driver_release_texture_by_id (GskNglDriver *self,
|
|||||||
gsk_ngl_driver_release_texture (self, texture);
|
gsk_ngl_driver_release_texture (self, texture);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
typedef struct _GskNglTextureState
|
||||||
|
{
|
||||||
|
GdkGLContext *context;
|
||||||
|
GLuint texture_id;
|
||||||
|
} GskNglTextureState;
|
||||||
|
|
||||||
static void
|
static void
|
||||||
create_texture_from_texture_destroy (gpointer data)
|
create_texture_from_texture_destroy (gpointer data)
|
||||||
|
Loading…
Reference in New Issue
Block a user