mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-21 12:42:25 +00:00
Add a test for ARB_texture_buffer_object_rgb32
There are apparently some drivers on linux that are missing it, see #54
This commit is contained in:
parent
7d0c05e20d
commit
54e79a6901
1 changed files with 4 additions and 0 deletions
|
|
@ -145,6 +145,10 @@ _glewInit(PyObject UNUSED *self) {
|
|||
PyErr_SetString(PyExc_RuntimeError, "OpenGL is missing the required ARB_texture_storage extension");
|
||||
return NULL;
|
||||
}
|
||||
if(!GLEW_ARB_texture_buffer_object_rgb32) {
|
||||
PyErr_SetString(PyExc_RuntimeError, "OpenGL is missing the required ARB_texture_buffer_object_rgb32 extension");
|
||||
return NULL;
|
||||
}
|
||||
#endif
|
||||
Py_RETURN_NONE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue