TIZEN: Adapt to new OpenGL code.

Completely untested! Not even compile tested!