diff options
Diffstat (limited to 'src/canvas-x11.h')
-rw-r--r-- | src/canvas-x11.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/canvas-x11.h b/src/canvas-x11.h index 4bf26bd..7b3b456 100644 --- a/src/canvas-x11.h +++ b/src/canvas-x11.h @@ -64,6 +64,15 @@ protected: virtual XVisualInfo *get_xvisualinfo() = 0; /** + * Initializes window system interfaces for GL rendering. + * + * This method should be implemented in derived classes. + * + * @return whether the operation succeeded + */ + virtual bool init_gl_winsys() = 0; + + /** * Makes the canvas the current target for GL rendering. * * This method should be implemented in derived classes. |