render fullscreen texcoord quad

This commit is contained in:
Gregory Wells
2025-08-18 23:22:09 -04:00
parent 453f7b70db
commit 740cf1e628
7 changed files with 114 additions and 28 deletions

View File

@@ -89,6 +89,10 @@ gnUInt2 getWindowSize(gnPlatformWindowSurface* surface) {
return (gnUInt2){ attr.width, attr.height };
}
void swapBuffers(gnWindowSurface surface) {
glXSwapBuffers(surface->windowSurface->display, surface->windowSurface->window);
}
#endif
#ifdef GN_WINFDOW_WAYLAND