mirror of
https://github.com/Linloir/SceneEditor.git
synced 2025-12-17 07:28:12 +08:00
11 lines
328 B
C
11 lines
328 B
C
#pragma once
|
|
|
|
#include <qopenglcontext.h>
|
|
#include <qopenglfunctions.h>
|
|
#include <qopenglextrafunctions.h>
|
|
|
|
#define OFFSETOF(TYPE, ELEMENT) ((size_t)&(((TYPE *)0)->ELEMENT))
|
|
|
|
#define OPENGL_FUNCTIONS QOpenGLContext::currentContext()->functions()
|
|
#define OPENGL_EXTRA_FUNCTIONS QOpenGLContext::currentContext()->extraFunctions()
|