mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 15:40:41 -05:00
cogl: Remove some unused #define GL_BLAH safeties
None of these constants are referenced in the files defining them. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1194
This commit is contained in:
parent
ab9f241cc5
commit
1398c6dfa4
@ -51,11 +51,6 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
/* This isn't defined in the GLES headers */
|
|
||||||
#ifndef GL_UNSIGNED_INT
|
|
||||||
#define GL_UNSIGNED_INT 0x1405
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static void _cogl_attribute_free (CoglAttribute *attribute);
|
static void _cogl_attribute_free (CoglAttribute *attribute);
|
||||||
|
|
||||||
COGL_OBJECT_DEFINE (Attribute, attribute);
|
COGL_OBJECT_DEFINE (Attribute, attribute);
|
||||||
|
@ -51,11 +51,6 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
/* These aren't defined in the GLES headers */
|
|
||||||
#ifndef GL_POINT_SPRITE
|
|
||||||
#define GL_POINT_SPRITE 0x8861
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static void _cogl_context_free (CoglContext *context);
|
static void _cogl_context_free (CoglContext *context);
|
||||||
|
|
||||||
COGL_OBJECT_DEFINE (Context, context);
|
COGL_OBJECT_DEFINE (Context, context);
|
||||||
|
@ -51,22 +51,6 @@
|
|||||||
#include "cogl-pixel-buffer.h"
|
#include "cogl-pixel-buffer.h"
|
||||||
#include "cogl-gtype-private.h"
|
#include "cogl-gtype-private.h"
|
||||||
|
|
||||||
/*
|
|
||||||
* GL/GLES compatibility defines for the buffer API:
|
|
||||||
*/
|
|
||||||
|
|
||||||
#if defined (HAVE_COGL_GL)
|
|
||||||
|
|
||||||
#ifndef GL_PIXEL_UNPACK_BUFFER
|
|
||||||
#define GL_PIXEL_UNPACK_BUFFER GL_PIXEL_UNPACK_BUFFER_ARB
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef GL_PIXEL_PACK_BUFFER
|
|
||||||
#define GL_PIXEL_PACK_BUFFER GL_PIXEL_PACK_BUFFER_ARB
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_cogl_pixel_buffer_free (CoglPixelBuffer *buffer);
|
_cogl_pixel_buffer_free (CoglPixelBuffer *buffer);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user