mesa: move GL_HALF_FLOAT_OES definition to glheader.h
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
@@ -144,6 +144,13 @@ typedef void *GLeglImageOES;
|
||||
#endif
|
||||
|
||||
|
||||
/* Inexplicably, GL_HALF_FLOAT_OES has a different value than GL_HALF_FLOAT.
|
||||
*/
|
||||
#ifndef GL_HALF_FLOAT_OES
|
||||
#define GL_HALF_FLOAT_OES 0x8D61
|
||||
#endif
|
||||
|
||||
|
||||
/**
|
||||
* Internal token to represent a GLSL shader program (a collection of
|
||||
* one or more shaders that get linked together). Note that GLSL
|
||||
|
||||
@@ -40,11 +40,6 @@
|
||||
#include "fbobject.h"
|
||||
#include "teximage.h"
|
||||
|
||||
/* Inexplicably, GL_HALF_FLOAT_OES has a different value than GL_HALF_FLOAT.
|
||||
*/
|
||||
#ifndef GL_HALF_FLOAT_OES
|
||||
#define GL_HALF_FLOAT_OES 0x8D61
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Tries to implement glReadPixels() of GL_DEPTH_COMPONENT using memcpy of the
|
||||
|
||||
@@ -50,12 +50,6 @@
|
||||
#include "glformats.h"
|
||||
|
||||
|
||||
/* Inexplicably, GL_HALF_FLOAT_OES has a different value than GL_HALF_FLOAT.
|
||||
*/
|
||||
#ifndef GL_HALF_FLOAT_OES
|
||||
#define GL_HALF_FLOAT_OES 0x8D61
|
||||
#endif
|
||||
|
||||
/**
|
||||
* State changes which we care about for glCopyTex[Sub]Image() calls.
|
||||
* In particular, we care about pixel transfer state and buffer state
|
||||
|
||||
Reference in New Issue
Block a user