summaryrefslogtreecommitdiffstats
path: root/progs/demos/spriteblast.c
diff options
context:
space:
mode:
authorYounes Manton <[email protected]>2010-03-07 12:47:45 -0500
committerYounes Manton <[email protected]>2010-03-12 01:37:49 -0500
commita8238bb08a95e7ea4430450c304a6bee210df1a6 (patch)
tree00f4e852473dc1d6a86aece436f3e5bf89d029c7 /progs/demos/spriteblast.c
parent80468464897682b8e10aeab310f20fdd7ddc6cb4 (diff)
parent45df4bad9fc0379f05197bee10c03fd351f24094 (diff)
Merge remote branch 'origin/master' into pipe-video
Conflicts: configure.ac src/gallium/auxiliary/vl/Makefile src/gallium/auxiliary/vl/SConscript src/gallium/auxiliary/vl/vl_compositor.c src/gallium/auxiliary/vl/vl_compositor.h src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.h src/gallium/drivers/nouveau/nouveau_winsys.h src/gallium/drivers/softpipe/sp_video_context.c src/gallium/include/pipe/p_video_state.h src/gallium/include/state_tracker/drm_api.h src/gallium/state_trackers/xorg/xvmc/surface.c src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.h src/gallium/winsys/drm/radeon/core/radeon_drm.c src/gallium/winsys/g3dvl/nouveau/Makefile
Diffstat (limited to 'progs/demos/spriteblast.c')
-rw-r--r--progs/demos/spriteblast.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/progs/demos/spriteblast.c b/progs/demos/spriteblast.c
index d73b680b791..36e226e1d07 100644
--- a/progs/demos/spriteblast.c
+++ b/progs/demos/spriteblast.c
@@ -493,6 +493,8 @@ int
main(int argc, char **argv)
{
int i;
+
+ glutInitWindowSize(600,300);
glutInit(&argc, argv);
glutInitDisplayMode(GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH | GLUT_MULTISAMPLE);
@@ -506,8 +508,6 @@ main(int argc, char **argv)
linearFiltering = 0;
}
}
- glutInitWindowPosition(0, 0);
- glutInitWindowSize(600,300);
glutCreateWindow("sprite blast");
glewInit();
glutReshapeFunc(reshape);