]> git.cworth.org Git - apitrace/blob - wrappers/gltrace_state.cpp
mt trace: create gltrace_state.cpp, move getContext into it
[apitrace] / wrappers / gltrace_state.cpp
1 #include <gltrace.hpp>
2
3 gltrace::Context *
4 gltrace::getContext(void)
5 {
6     // TODO return the context set by other APIs (GLX, EGL, and etc.)
7     static gltrace::Context _ctx = { gltrace::PROFILE_COMPAT, false, false, false };
8     return &_ctx;
9 }
10