consume events in RGFW loop. (Next: react to input events.)

This commit is contained in:
2026-01-23 11:13:33 +00:00
parent b4573441fb
commit a89bb8fa5f
6 changed files with 43 additions and 7 deletions

View File

@@ -28,6 +28,10 @@ void swapBuffers(RGFW_window* window) {
RGFW_window_swapBuffers_OpenGL(window);
}
void writeClipboard(char* string, int stringSize) {
RGFW_writeClipboard(string, stringSize);
}
// OpenGL constants used below
unsigned int VERTEX_SHADER = GL_VERTEX_SHADER;
unsigned int FRAGMENT_SHADER = GL_FRAGMENT_SHADER;