From ac9479aa3fad9b09ccc9d9c6496ed35ed864a154 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Mon, 27 Jan 2020 17:50:44 +0100 Subject: [PATCH] Change OpenGL headers comment to compilation error. --- TracyOpenGL.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/TracyOpenGL.hpp b/TracyOpenGL.hpp index f32a652b..b861d22d 100644 --- a/TracyOpenGL.hpp +++ b/TracyOpenGL.hpp @@ -1,7 +1,9 @@ #ifndef __TRACYOPENGL_HPP__ #define __TRACYOPENGL_HPP__ -// Include this file after you include OpenGL 3.2 headers. +#ifndef GL_TIMESTAMP +# error "You must include OpenGL 3.2 headers before including TracyOpenGL.hpp" +#endif #if !defined TRACY_ENABLE || defined __APPLE__