We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9b9b3e commit 94685e0Copy full SHA for 94685e0
pathfinder/gpu/gl/buffer.cpp
@@ -1,5 +1,7 @@
1
#include "buffer.h"
2
3
+#include <cassert>
4
+
5
#include "../../common/logger.h"
6
#include "debug_marker.h"
7
@@ -11,6 +13,7 @@ BufferGl::BufferGl(const BufferDescriptor &desc) : Buffer(desc) {
11
13
}
12
14
15
glGenBuffers(1, &gl_id_);
16
+ assert(gl_id_ != 0);
17
18
GLint target = GL_NONE;
19
0 commit comments