Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Mesa
piglit
Commits
c9eafa83
Commit
c9eafa83
authored
Sep 29, 2009
by
Eric Anholt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace the copy-and-pasted header setup with consistent use of piglit-util.h.
parent
dc1d9ed1
Changes
92
Hide whitespace changes
Inline
Side-by-side
Showing
92 changed files
with
26 additions
and
999 deletions
+26
-999
tests/asmparsertest/asmparsertest.c
tests/asmparsertest/asmparsertest.c
+0
-9
tests/bugs/crash-cubemap-order.c
tests/bugs/crash-cubemap-order.c
+0
-12
tests/bugs/crash-texparameter-before-teximage.c
tests/bugs/crash-texparameter-before-teximage.c
+0
-11
tests/bugs/fdo10370.c
tests/bugs/fdo10370.c
+1
-8
tests/bugs/fdo14575.c
tests/bugs/fdo14575.c
+1
-13
tests/bugs/fdo20701.c
tests/bugs/fdo20701.c
+0
-10
tests/bugs/fdo22540.c
tests/bugs/fdo22540.c
+0
-11
tests/bugs/fdo23489.c
tests/bugs/fdo23489.c
+0
-8
tests/bugs/fdo23670-drawpix_stencil.c
tests/bugs/fdo23670-drawpix_stencil.c
+0
-10
tests/bugs/fdo24066.c
tests/bugs/fdo24066.c
+0
-10
tests/bugs/fdo9833.c
tests/bugs/fdo9833.c
+1
-8
tests/bugs/point-sprite.c
tests/bugs/point-sprite.c
+0
-10
tests/bugs/r300-readcache.c
tests/bugs/r300-readcache.c
+0
-12
tests/bugs/tex1d-2dborder.c
tests/bugs/tex1d-2dborder.c
+0
-12
tests/fbo/fbo-1d.c
tests/fbo/fbo-1d.c
+0
-13
tests/fbo/fbo-3d.c
tests/fbo/fbo-3d.c
+0
-12
tests/fbo/fbo-cubemap.c
tests/fbo/fbo-cubemap.c
+0
-12
tests/fbo/fbo-generatemipmap.c
tests/fbo/fbo-generatemipmap.c
+0
-12
tests/fbo/fbo-readpixels.c
tests/fbo/fbo-readpixels.c
+0
-12
tests/general/bgra-sec-color-pointer.c
tests/general/bgra-sec-color-pointer.c
+0
-11
tests/general/bgra-vert-attrib-pointer.c
tests/general/bgra-vert-attrib-pointer.c
+0
-11
tests/general/clear-varray-2.0.c
tests/general/clear-varray-2.0.c
+0
-12
tests/general/depth_clamp.c
tests/general/depth_clamp.c
+0
-9
tests/general/depthrange-clear.c
tests/general/depthrange-clear.c
+0
-9
tests/general/dlist-clear.c
tests/general/dlist-clear.c
+0
-9
tests/general/draw-elements-base-vertex.c
tests/general/draw-elements-base-vertex.c
+1
-10
tests/general/linestipple.c
tests/general/linestipple.c
+0
-12
tests/general/occlusion_query.c
tests/general/occlusion_query.c
+0
-11
tests/general/pbo-drawpixels.c
tests/general/pbo-drawpixels.c
+0
-10
tests/general/pbo-teximage.c
tests/general/pbo-teximage.c
+0
-10
tests/general/provoking-vertex.c
tests/general/provoking-vertex.c
+3
-10
tests/general/read-front.c
tests/general/read-front.c
+0
-9
tests/general/scissor-copypixels.c
tests/general/scissor-copypixels.c
+0
-9
tests/general/scissor-depth-clear.c
tests/general/scissor-depth-clear.c
+0
-9
tests/general/scissor-stencil-clear.c
tests/general/scissor-stencil-clear.c
+0
-9
tests/general/stencil-drawpixels.c
tests/general/stencil-drawpixels.c
+0
-10
tests/general/sync_api.c
tests/general/sync_api.c
+3
-10
tests/general/texgen.c
tests/general/texgen.c
+0
-12
tests/general/varray-disabled.c
tests/general/varray-disabled.c
+0
-11
tests/general/vbo-map-remap.c
tests/general/vbo-map-remap.c
+0
-10
tests/general/vbo-subdata-sync.c
tests/general/vbo-subdata-sync.c
+0
-10
tests/general/windowoverlap.c
tests/general/windowoverlap.c
+0
-12
tests/glslparsertest/glslparsertest.c
tests/glslparsertest/glslparsertest.c
+0
-11
tests/shaders/fp-abs-01.c
tests/shaders/fp-abs-01.c
+0
-13
tests/shaders/fp-abs-02.c
tests/shaders/fp-abs-02.c
+0
-13
tests/shaders/fp-condition_codes-01.c
tests/shaders/fp-condition_codes-01.c
+0
-9
tests/shaders/fp-fog.c
tests/shaders/fp-fog.c
+1
-11
tests/shaders/fp-fragment-position.c
tests/shaders/fp-fragment-position.c
+0
-11
tests/shaders/fp-generic.c
tests/shaders/fp-generic.c
+0
-12
tests/shaders/fp-incomplete-tex.c
tests/shaders/fp-incomplete-tex.c
+0
-11
tests/shaders/fp-indirections.c
tests/shaders/fp-indirections.c
+0
-10
tests/shaders/fp-indirections2.c
tests/shaders/fp-indirections2.c
+0
-10
tests/shaders/fp-kil.c
tests/shaders/fp-kil.c
+0
-11
tests/shaders/fp-lit-mask.c
tests/shaders/fp-lit-mask.c
+0
-11
tests/shaders/fp-rfl.c
tests/shaders/fp-rfl.c
+0
-11
tests/shaders/fp-set-01.c
tests/shaders/fp-set-01.c
+0
-13
tests/shaders/fp-set-02.c
tests/shaders/fp-set-02.c
+0
-13
tests/shaders/fp-unpack-01.c
tests/shaders/fp-unpack-01.c
+0
-13
tests/shaders/glsl-bug-22603.c
tests/shaders/glsl-bug-22603.c
+0
-14
tests/shaders/glsl-deriv-varyings.c
tests/shaders/glsl-deriv-varyings.c
+0
-10
tests/shaders/glsl-derivs.c
tests/shaders/glsl-derivs.c
+0
-10
tests/shaders/glsl-dlist-getattriblocation.c
tests/shaders/glsl-dlist-getattriblocation.c
+0
-10
tests/shaders/glsl-empty-vs-no-fs.c
tests/shaders/glsl-empty-vs-no-fs.c
+0
-11
tests/shaders/glsl-fs-exp2.c
tests/shaders/glsl-fs-exp2.c
+0
-14
tests/shaders/glsl-fs-fragcoord.c
tests/shaders/glsl-fs-fragcoord.c
+0
-14
tests/shaders/glsl-fs-log2.c
tests/shaders/glsl-fs-log2.c
+0
-14
tests/shaders/glsl-fwidth.c
tests/shaders/glsl-fwidth.c
+0
-10
tests/shaders/glsl-lod-bias.c
tests/shaders/glsl-lod-bias.c
+0
-10
tests/shaders/glsl-uniform-update.c
tests/shaders/glsl-uniform-update.c
+0
-14
tests/shaders/glsl-unused-varying.c
tests/shaders/glsl-unused-varying.c
+0
-14
tests/shaders/glsl-vs-if-bool.c
tests/shaders/glsl-vs-if-bool.c
+0
-14
tests/shaders/glsl-vs-if.c
tests/shaders/glsl-vs-if.c
+0
-14
tests/shaders/glsl-vs-loop.c
tests/shaders/glsl-vs-loop.c
+0
-14
tests/shaders/trinity-fp1.c
tests/shaders/trinity-fp1.c
+0
-12
tests/shaders/vp-bad-program.c
tests/shaders/vp-bad-program.c
+0
-13
tests/shaders/vp-ignore-input.c
tests/shaders/vp-ignore-input.c
+0
-11
tests/texturing/copytexsubimage.c
tests/texturing/copytexsubimage.c
+1
-9
tests/texturing/cubemap.c
tests/texturing/cubemap.c
+0
-9
tests/texturing/depth-tex-compare.c
tests/texturing/depth-tex-compare.c
+0
-10
tests/texturing/depth-tex-modes-glsl.c
tests/texturing/depth-tex-modes-glsl.c
+0
-11
tests/texturing/depth-tex-modes.c
tests/texturing/depth-tex-modes.c
+0
-10
tests/texturing/gen-compressed-teximage.c
tests/texturing/gen-compressed-teximage.c
+0
-9
tests/texturing/gen-teximage.c
tests/texturing/gen-teximage.c
+0
-9
tests/texturing/gen-texsubimage.c
tests/texturing/gen-texsubimage.c
+0
-9
tests/texturing/getteximage-simple.c
tests/texturing/getteximage-simple.c
+0
-12
tests/texturing/lodbias.c
tests/texturing/lodbias.c
+0
-12
tests/texturing/tex3d.c
tests/texturing/tex3d.c
+0
-12
tests/texturing/texdepth.c
tests/texturing/texdepth.c
+0
-12
tests/texturing/texrect-many.c
tests/texturing/texrect-many.c
+0
-14
tests/texturing/texredefine.c
tests/texturing/texredefine.c
+0
-10
tests/texturing/tfp.c
tests/texturing/tfp.c
+1
-5
tests/util/piglit-util.h
tests/util/piglit-util.h
+13
-0
No files found.
tests/asmparsertest/asmparsertest.c
View file @
c9eafa83
...
...
@@ -21,17 +21,8 @@
* DEALINGS IN THE SOFTWARE.
*/
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <GL/glew.h>
#if defined(__APPLE__)
#include <GLUT/glut.h>
#else
#include <GL/glut.h>
#endif
#include "piglit-util.h"
#ifndef TRUE
...
...
tests/bugs/crash-cubemap-order.c
View file @
c9eafa83
...
...
@@ -6,20 +6,8 @@
* This bug existed in the R300 driver and was triggered by Sauerbraten.
*/
#include <assert.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#if defined(__APPLE__)
#include <GLUT/glut.h>
#else
#include "GL/glut.h"
#endif
#include "piglit-util.h"
static
int
Width
=
100
,
Height
=
100
;
static
void
Display
(
void
)
...
...
tests/bugs/crash-texparameter-before-teximage.c
View file @
c9eafa83
...
...
@@ -7,17 +7,6 @@
* This bug was originally triggered by Glest.
*/
#include <assert.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#if defined(__APPLE__)
#include <GLUT/glut.h>
#else
#include "GL/glut.h"
#endif
#include "piglit-util.h"
...
...
tests/bugs/fdo10370.c
View file @
c9eafa83
...
...
@@ -3,14 +3,7 @@
* http://bugs.freedesktop.org/show_bug.cgi?id=10370
*/
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#if defined(__APPLE__)
#include <GLUT/glut.h>
#else
#include "GL/glut.h"
#endif
#include "piglit-util.h"
static
int
Automatic
=
0
;
...
...
tests/bugs/fdo14575.c
View file @
c9eafa83
...
...
@@ -30,19 +30,7 @@
*
* Tests that the driver doesn't fail when deleting a mapped buffer object.
*/
#define GL_GLEXT_PROTOTYPES
#include <assert.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <GL/glew.h>
#if defined(__APPLE__)
#include <GLUT/glut.h>
#else
#include "GL/glut.h"
#endif
#include "piglit-util.h"
static
int
Automatic
=
0
;
...
...
tests/bugs/fdo20701.c
View file @
c9eafa83
...
...
@@ -34,16 +34,6 @@
* passes.
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <GL/glew.h>
#if defined(__APPLE__)
#include <GLUT/glut.h>
#else
#include <GL/glut.h>
#endif
#include "piglit-util.h"
static
int
Automatic
=
0
;
...
...
tests/bugs/fdo22540.c
View file @
c9eafa83
...
...
@@ -23,17 +23,6 @@
// author: Ben Holmes
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <GL/glew.h>
#if defined(__APPLE__)
#include <GLUT/glut.h>
#else
#include <GL/glut.h>
#endif
#include "piglit-util.h"
static
GLboolean
Automatic
=
GL_FALSE
;
...
...
tests/bugs/fdo23489.c
View file @
c9eafa83
...
...
@@ -3,14 +3,6 @@
* http://bugs.freedesktop.org/show_bug.cgi?id=23489
*/
#include <string.h>
#if defined(__APPLE__)
#include <GLUT/glut.h>
#else
#include <GL/glut.h>
#endif
#include "piglit-util.h"
static
int
Automatic
=
0
;
...
...
tests/bugs/fdo23670-drawpix_stencil.c
View file @
c9eafa83
...
...
@@ -24,16 +24,6 @@
* Shuang he <shuang.he@intel.com>
*/
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <GL/glew.h>
#if defined(__APPLE__)
#include <GLUT/glut.h>
#else
#include <GL/glut.h>
#endif
#include "piglit-util.h"
#define WIN_WIDTH 100
...
...
tests/bugs/fdo24066.c
View file @
c9eafa83
...
...
@@ -32,16 +32,6 @@
* before a fragment program has been setup.
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <GL/glew.h>
#if defined(__APPLE__)
#include <GLUT/glut.h>
#else
#include <GL/glut.h>
#endif
#include "piglit-util.h"
#include "piglit-framework.h"
...
...
tests/bugs/fdo9833.c
View file @
c9eafa83
...
...
@@ -3,14 +3,7 @@
* https://bugs.freedesktop.org/show_bug.cgi?id=9833
*/
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#if defined(__APPLE__)
#include <GLUT/glut.h>
#else
#include <GL/glut.h>
#endif
#include "piglit-util.h"
static
int
Automatic
=
0
;
...
...
tests/bugs/point-sprite.c
View file @
c9eafa83
...
...
@@ -28,16 +28,6 @@
* \author Ben Holmes
*/
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <GL/glew.h>
#if defined(__APPLE__)
#include <GLUT/glut.h>
#else
#include <GL/glut.h>
#endif
#include "piglit-util.h"
static
GLboolean
Automatic
=
GL_FALSE
;
...
...
tests/bugs/r300-readcache.c
View file @
c9eafa83
...
...
@@ -15,20 +15,8 @@
* so this test is always automatic.
*/
#include <assert.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#if defined(__APPLE__)
#include <GLUT/glut.h>
#else
#include "GL/glut.h"
#endif
#include "piglit-util.h"
static
int
Width
=
100
,
Height
=
100
;
static
GLfloat
colors
[
8
][
3
]
=
{
...
...
tests/bugs/tex1d-2dborder.c
View file @
c9eafa83
...
...
@@ -30,20 +30,8 @@
* 2D textures, which caused incorrect sampling of border colors.
*/
#include <assert.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#if defined(__APPLE__)
#include <GLUT/glut.h>
#else
#include <GL/glut.h>
#endif
#include "piglit-util.h"
static
int
Width
=
256
,
Height
=
128
;
static
int
Automatic
=
0
;
...
...
tests/fbo/fbo-1d.c
View file @
c9eafa83
...
...
@@ -31,19 +31,6 @@
* succeeds.
*/
#include <assert.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#define GL_GLEXT_PROTOTYPES
#include <GL/glew.h>
#if defined(__APPLE__)
#include <GLUT/glut.h>
#else
#include "GL/glut.h"
#endif
#include "piglit-util.h"
#define BUF_WIDTH 32
...
...
tests/fbo/fbo-3d.c
View file @
c9eafa83
...
...
@@ -31,18 +31,6 @@
* of those inidivual depths to the window system framebuffer succeeds.
*/
#include <assert.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#define GL_GLEXT_PROTOTYPES
#include <GL/glew.h>
#if defined(__APPLE__)
#include <GLUT/glut.h>
#else
#include "GL/glut.h"
#endif
#include "piglit-util.h"
#define BUF_WIDTH 32
...
...
tests/fbo/fbo-cubemap.c
View file @
c9eafa83
...
...
@@ -31,18 +31,6 @@
* of those faces to the window system framebuffer succeeds.
*/
#include <assert.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#define GL_GLEXT_PROTOTYPES
#include <GL/glew.h>
#if defined(__APPLE__)
#include <GLUT/glut.h>
#else
#include "GL/glut.h"
#endif
#include "piglit-util.h"
#define BUF_WIDTH 32
...
...
tests/fbo/fbo-generatemipmap.c
View file @
c9eafa83
...
...
@@ -30,18 +30,6 @@
* Tests that glGenerateMipmapEXT works correctly on a 2D texture.
*/
#include <assert.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#define GL_GLEXT_PROTOTYPES
#include <GL/glew.h>
#if defined(__APPLE__)
#include <GLUT/glut.h>
#else
#include "GL/glut.h"
#endif
#include "piglit-util.h"
#define TEX_WIDTH 256
...
...
tests/fbo/fbo-readpixels.c
View file @
c9eafa83
...
...
@@ -31,18 +31,6 @@
* glReadPixels() versus glClear and immediate mode rendering.
*/
#include <assert.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#define GL_GLEXT_PROTOTYPES
#include <GL/glew.h>
#if defined(__APPLE__)
#include <GLUT/glut.h>
#else
#include "GL/glut.h"
#endif
#include "piglit-util.h"
#define BUF_WIDTH 32
...
...
tests/general/bgra-sec-color-pointer.c
View file @
c9eafa83
...
...
@@ -30,19 +30,8 @@
* with alpha blending.
*/
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <GL/glew.h>
#if defined(__APPLE__)
#include <GLUT/glut.h>
#else
#include <GL/glut.h>
#endif
#include "piglit-util.h"
static
GLboolean
Automatic
=
GL_FALSE
;
static
GLfloat
verts
[
12
]
=
{
225
.
0
,
175
.
0
,
0
.
0
,
...
...
tests/general/bgra-vert-attrib-pointer.c
View file @
c9eafa83
...
...
@@ -29,19 +29,8 @@
* two quads are drawn without blending and two are drawn with alpha blending.
*/
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <GL/glew.h>
#if defined(__APPLE__)
#include <GLUT/glut.h>
#else
#include <GL/glut.h>
#endif
#include "piglit-util.h"
static
GLboolean
Automatic
=
GL_FALSE
;
static
GLint
prog
;
static
GLint
fs
;
...
...
tests/general/clear-varray-2.0.c
View file @
c9eafa83
...
...
@@ -32,18 +32,6 @@
* fd.o bug #21638
*/
#include <assert.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#define GL_GLEXT_PROTOTYPES
#include "GL/glew.h"
#if defined(__APPLE__)
#include <GLUT/glut.h>
#else
#include "GL/glut.h"
#endif
#include "piglit-util.h"
#define WIN_WIDTH 200
...
...
tests/general/depth_clamp.c
View file @
c9eafa83
...
...
@@ -34,15 +34,6 @@
* the same operations against the far plane.
*/
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <GL/glew.h>
#if defined(__APPLE__)
#include <GLUT/glut.h>
#else
#include <GL/glut.h>
#endif
#include "piglit-util.h"
/* In case the headers have the old enum name but not the new */
...
...
tests/general/depthrange-clear.c
View file @
c9eafa83
...
...
@@ -31,15 +31,6 @@
* Caught a regression in the intel driver with the metaops clear code.
*/
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#if defined(__APPLE__)
#include <GLUT/glut.h>
#else
#include "GL/glut.h"
#endif
#include "piglit-util.h"
#define WIN_WIDTH 100
...
...
tests/general/dlist-clear.c
View file @
c9eafa83
...
...
@@ -32,15 +32,6 @@
* with the new metaops clear code.
*/
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#if defined(__APPLE__)
#include <GLUT/glut.h>
#else
#include "GL/glut.h"
#endif
#include "piglit-util.h"
#define WIN_WIDTH 100
...
...
tests/general/draw-elements-base-vertex.c
View file @
c9eafa83
...
...
@@ -34,22 +34,13 @@
#include <windows.h>
#endif
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#if !defined(_MSC_VER)
#include <stdint.h>
#endif
#include <GL/glew.h>
#if defined(__APPLE__)
#include <GLUT/glut.h>
#else
#include <GL/glut.h>
#if defined(FREEGLUT)
#if !defined(__APPLE__) && defined(FREEGLUT)
#include <GL/freeglut_ext.h>
#endif
#endif
#include "piglit-util.h"
/* GLEW hasn't added support for this yet. */
...
...
tests/general/linestipple.c
View file @
c9eafa83
...
...
@@ -26,20 +26,8 @@
* Test basic line stippling functionality.
*/
#include <assert.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#if defined(__APPLE__)
#include <GLUT/glut.h>
#else
#include <GL/glut.h>
#endif
#include "piglit-util.h"
static
int
Width
=
128
,
Height
=
128
;
static
int
Automatic
=
0
;
...
...
tests/general/occlusion_query.c
View file @
c9eafa83
...
...
@@ -29,17 +29,6 @@
* Simple test for GL_ARB_occlusion_query.
*/
#include <assert.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <GL/glew.h>
#if defined(__APPLE__)
#include <GLUT/glut.h>
#else
#include <GL/glut.h>
#endif
#include "piglit-util.h"
static
int
Width
=
180
,
Height
=
100
;
...
...
tests/general/pbo-drawpixels.c
View file @
c9eafa83
...
...
@@ -31,16 +31,6 @@
* Caught a bug with the Intel driver with the metaops drawpixels code.
*/
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <GL/glew.h>
#if defined(__APPLE__)
#include <GLUT/glut.h>
#else
#include "GL/glut.h"
#endif
#include "piglit-util.h"
#define WIN_WIDTH 100
...
...
tests/general/pbo-teximage.c
View file @
c9eafa83
...
...
@@ -30,16 +30,6 @@
* Tests that using a PBO as the unpack buffer for glTexImage works correctly.
*/
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <GL/glew.h>
#if defined(__APPLE__)
#include <GLUT/glut.h>
#else
#include "GL/glut.h"
#endif
#include "piglit-util.h"
#define WIN_WIDTH 100
...
...
tests/general/provoking-vertex.c
View file @
c9eafa83
...
...
@@ -31,18 +31,11 @@
* Second tri using GL_LAST_VERTEX_CONVENTION_EXT.
*/
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#if defined(__APPLE__)
#include <GLUT/glut.h>
#else
#include <GL/glut.h>
#if defined(FREEGLUT)
#include "piglit-util.h"
#if !defined(__APPLE__) && defined(FREEGLUT)
#include <GL/freeglut_ext.h>
#endif
#endif
#include "piglit-util.h"
#ifndef APIENTRY
...
...
tests/general/read-front.c
View file @
c9eafa83
...
...
@@ -35,15 +35,6 @@
* used as a draw buffer.
*/
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#if defined(__APPLE__)
#include <GLUT/glut.h>
#else
#include "GL/glut.h"