summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 9cd83df..bf1d450 100644
--- a/main.c
+++ b/main.c
@@ -377,7 +377,7 @@ int main(int argc, char **argv) {
if (!window_create("sandbox", 1280, 720, 0)) {
return -1;
}
- if (gl_version_major * 100 + gl_version_minor < 310) {
+ if (gl_version_major * 100 + gl_version_minor < 310) { // we need glDrawArraysInstanced
window_message_box_error("Error", "Couldn't get OpenGL 3.1 context (your graphics drivers are too old).");
return -1;
}