Revert "BGL: Workaround broken bgl usage caused by GPU refactor"

This reverts commit f12b0373f3.
This commit is contained in:
2020-10-08 17:58:38 +02:00
parent 479dc766b5
commit f23bf4cb10
7 changed files with 10 additions and 50 deletions

View File

@@ -200,7 +200,7 @@ void check_gl_error(const char *info)
void check_gl_resources(const char *info)
{
if (!(G.debug & G_DEBUG_GPU) || GPU_bgl_get()) {
if (!(G.debug & G_DEBUG_GPU)) {
return;
}