+
+void fgPlatformSetWindow ( SFG_Window *window )
+{
+ if (!eglMakeCurrent(
+ fgDisplay.pDisplay.egl.Display,
+ window->Window.pContext.egl.Surface,
+ window->Window.pContext.egl.Surface,
+ window->Window.Context))
+ fgError("eglMakeCurrent: err=%x\n", eglGetError());
+}