progs/egl: Fix screen surface demos.
authorChia-I Wu <olvaffe@gmail.com>
Mon, 4 Jan 2010 05:32:50 +0000 (13:32 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Tue, 12 Jan 2010 02:55:35 +0000 (10:55 +0800)
commit472a6019665094c18fc47624b343ddc8c90f102c
tree17209a9bddfde141bbc86d4b04491fe07bb557ee
parentc657c80180255b859b9229a994d111115aaf198d
progs/egl: Fix screen surface demos.

Set the screen surface size to the mode size, as the spec requires the
screen surface size to be larger than the mode size.  Besides, bind the
API to OpenGL as they are written in it.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
progs/egl/demo1.c
progs/egl/demo2.c
progs/egl/demo3.c
progs/egl/eglgears.c
progs/egl/egltri.c