aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/es1_conversion.c
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2012-10-23 14:23:36 -0700
committerPaul Berry <[email protected]>2012-11-01 11:24:57 -0700
commitb60244cfb90a408fd92bb6837a7824ee03ec37bc (patch)
tree4959c477888a134f2bffcfa1de2e131b3bee5434 /src/mesa/main/es1_conversion.c
parentdd3218d73b3ffba98b885709ef086577e7cb8594 (diff)
dispatch: Add standard boilerplate and GL_APIENTRY to es1_conversion.h.
This patch adds the usual boilerplate (copyright notice and guards against redundant inclusion) to es1_conversion.h. It also moves the definition of GL_APIENTRY from es1_conversion.c. This allows es1_conversion.h to be safely included from other .c files. Reviewed-by: Kenneth Graunke <[email protected]> v2: Use copyright notice from src/mesa/main/es_generator.py (the script that used to generate this file).
Diffstat (limited to 'src/mesa/main/es1_conversion.c')
-rw-r--r--src/mesa/main/es1_conversion.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/main/es1_conversion.c b/src/mesa/main/es1_conversion.c
index ae3c5badce4..758fb1a668d 100644
--- a/src/mesa/main/es1_conversion.c
+++ b/src/mesa/main/es1_conversion.c
@@ -29,10 +29,6 @@
#include "main/drawtex.h"
#include "vbo/vbo.h"
-#ifndef GL_APIENTRY
-#define GL_APIENTRY GLAPIENTRY
-#endif
-
#include "main/es1_conversion.h"
void GL_APIENTRY