This provides a convenience method that performs the virtual resolution for `::present` on the provided `GLContext`.
@@ -33,4 +33,9 @@ void make_context_current(GLContext* context)
g_gl_context = context;
}
+void present_context(GLContext* context)
+{
+ context->present();
+}
+
@@ -93,5 +93,6 @@ public:
OwnPtr<GLContext> create_context(Gfx::Bitmap&);
void make_context_current(GLContext*);
+void present_context(GLContext*);