projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mesa: Set correct values for range/precision of shader integer types
[mesa.git]
/
src
/
mesa
/
main
/
drawpix.h
diff --git
a/src/mesa/main/drawpix.h
b/src/mesa/main/drawpix.h
index 8ffb1a6d884706aa4fe0c3d2c54f16787926d77e..31baa192ec5d30ae16d8126539ceea24246a8c4a 100644
(file)
--- a/
src/mesa/main/drawpix.h
+++ b/
src/mesa/main/drawpix.h
@@
-26,25
+26,19
@@
#define DRAWPIX_H
#define DRAWPIX_H
-#include "main/mtypes.h"
+#include "compiler.h"
+#include "mfeatures.h"
+struct _glapi_table;
-#if FEATURE_drawpix
-#define _MESA_INIT_DRAWPIX_FUNCTIONS(driver, impl) \
- do { \
- (driver)->DrawPixels = impl ## DrawPixels; \
- (driver)->CopyPixels = impl ## CopyPixels; \
- (driver)->Bitmap = impl ## Bitmap; \
- } while (0)
+#if FEATURE_drawpix
extern void
_mesa_init_drawpix_dispatch(struct _glapi_table *disp);
#else /* FEATURE_drawpix */
extern void
_mesa_init_drawpix_dispatch(struct _glapi_table *disp);
#else /* FEATURE_drawpix */
-#define _MESA_INIT_DRAWPIX_FUNCTIONS(driver, impl) do { } while (0)
-
static INLINE void
_mesa_init_drawpix_dispatch(struct _glapi_table *disp)
{
static INLINE void
_mesa_init_drawpix_dispatch(struct _glapi_table *disp)
{