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:
committed by
Guy Zadickario
parent
31580f42b1
commit
1d3f5f58ce
@@ -31,6 +31,10 @@ typedef HWND FBNativeWindowType;
|
||||
|
||||
typedef Window FBNativeWindowType;
|
||||
|
||||
#elif defined(__APPLE__)
|
||||
|
||||
typedef void* FBNativeWindowType;
|
||||
|
||||
#else
|
||||
#warning "Unsupported platform"
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user