mesa: Pass GL context to _mesa_create_save_table
[mesa.git] / src / mesa / main / readpix.c
index e10f921d289641f677151310758dcbc11bfe261f..f6680c91f44171adacc5df9dd044556e140703b4 100644 (file)
 #include "state.h"
 #include "glformats.h"
 #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