diff options
author | Ian Romanick <[email protected]> | 2013-02-22 16:45:27 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2013-11-07 18:12:33 -0800 |
commit | 8c5330226f391a7a29b6538851090b0ef730a239 (patch) | |
tree | d7c876c54d1daf1d1735b8cc02f9848730dc0cdb /src/glx/tests/fake_glx_screen.cpp | |
parent | 0cce5538673148ffcd7aa9479f6b88cf9a641352 (diff) |
glx/tests: Add unit tests for the DRI2 part of GLX_MESA_query_renderer
After adding $(DEFINES) to AM_CPPFLAGS, the __glXGetCurrentContext
wrapper function is no longer needed and causes compile errors. Using
the correct defines causes it to be a macro!
Signed-off-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/glx/tests/fake_glx_screen.cpp')
-rw-r--r-- | src/glx/tests/fake_glx_screen.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/glx/tests/fake_glx_screen.cpp b/src/glx/tests/fake_glx_screen.cpp index 29f244117cd..815330a0b1f 100644 --- a/src/glx/tests/fake_glx_screen.cpp +++ b/src/glx/tests/fake_glx_screen.cpp @@ -76,9 +76,3 @@ indirect_create_context_attribs(struct glx_screen *base, } __thread void *__glX_tls_Context = NULL; - -extern "C" struct glx_context * -__glXGetCurrentContext() -{ - return (struct glx_context *) __glX_tls_Context; -} |