context: first initialize EGL then find functions
authorDavid Herrmann <dh.herrmann@googlemail.com>
Fri, 20 Jan 2012 15:52:58 +0000 (16:52 +0100)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Fri, 20 Jan 2012 15:52:58 +0000 (16:52 +0100)
commitfd390c60433cf45f16c91bca1dca84aebb47a4d4
treed98295c609e9275cfffb93274aaee568d299c1cb
parent7085084b1dcf090a9f57f4cdd4820704b2ee5c9c
context: first initialize EGL then find functions

We should first create a GL context before we try to find GL functions
to avoid errors on some platforms.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/output_context.c