Include glad/gl.h before everything else when running clang-format

master
Martin Felis 2020-10-16 15:03:25 +02:00
parent 8c618f89f0
commit bcb05e5eea
1 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,11 @@
// clang-format off
// glad must be included before any other OpenGL libraries
#include <glad/gl.h>
// clang-format on
#include <GLFW/glfw3.h>
#include <GLFW/glfw3native.h>
#include <X11/Xlib.h>
#include <glad/gl.h>
#include <signal.h>
#include <unistd.h>