summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/readpix.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2012-09-22 09:30:24 -0600
committerBrian Paul <brianp@vmware.com>2012-09-26 07:43:49 -0600
commit8348076ae444ab26d381cec1b388a1af4e0b0eba (patch)
treec12fa1bebd8f34c10bf0dac1c97af4b8eb933822 /src/mesa/main/readpix.c
parentb52e05cecb3650f875bd27c27bef529f35faea0a (diff)
downloadexternal_mesa3d-8348076ae444ab26d381cec1b388a1af4e0b0eba.zip
external_mesa3d-8348076ae444ab26d381cec1b388a1af4e0b0eba.tar.gz
external_mesa3d-8348076ae444ab26d381cec1b388a1af4e0b0eba.tar.bz2
mesa: move GL_HALF_FLOAT_OES definition to glheader.h
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/mesa/main/readpix.c')
-rw-r--r--src/mesa/main/readpix.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mesa/main/readpix.c b/src/mesa/main/readpix.c
index e10f921..1793095 100644
--- a/src/mesa/main/readpix.c
+++ b/src/mesa/main/readpix.c
@@ -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