فهرست منبع

sokol_app.h: add a doc blurb about sapp_gl_get_framebuffer()

Andre Weissflog 1 سال پیش
والد
کامیت
5ab88702d6
1فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  1. 4 0
      sokol_app.h

+ 4 - 0
sokol_app.h

@@ -313,6 +313,10 @@
             objects and values required for rendering. If sokol_app.h
             is not compiled with SOKOL_WGPU, these functions return null.
 
+        const uint32_t sapp_gl_get_framebuffer(void)
+            This returns the 'default framebuffer' of the GL context.
+            Typically this will be zero.
+
         const void* sapp_android_get_native_activity(void);
             On Android, get the native activity ANativeActivity pointer, otherwise
             a null pointer.