瀏覽代碼

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.