opengl renderer: create rendering subwindow

The application provides the window handle to which the
OpenglRenderer should render to however only a sub-region of
this window needs to be rendered. This change adds this functionality
by creating a native child subwindow into which rendering will happen.
This commit is contained in:
Amit Feller
2011-06-27 13:23:55 +03:00
committed by Guy Zadickario
parent 31580f42b1
commit 1d3f5f58ce
10 changed files with 223 additions and 5 deletions

View File

@@ -31,6 +31,10 @@ typedef HWND FBNativeWindowType;
typedef Window FBNativeWindowType;
#elif defined(__APPLE__)
typedef void* FBNativeWindowType;
#else
#warning "Unsupported platform"
#endif