Add more gfx backend flags (available features)

This commit is contained in:
2026-09-13 01:24:55 +02:00
parent 6284ff885d
commit ec49f70c0b
6 changed files with 22 additions and 3 deletions
+1
View File
@@ -73,6 +73,7 @@ void GfxOpenGL2::pSetupShaderAttribs(u32 shader) {
}
void GfxOpenGL2::SysInit() {
Flags |= PDGfxBackendFlags_HasClipRect;
pShader = CreateShaderProgram(pVertCode, pFragCode);
glUseProgram(pShader);
glGenBuffers(1, &VBO);