diff options
author | Jon Turney <[email protected]> | 2018-01-25 17:34:54 +0000 |
---|---|---|
committer | Jon Turney <[email protected]> | 2018-02-02 15:28:52 +0000 |
commit | 63041ba61308a0576c73cb6bc3d98540669188cf (patch) | |
tree | 8f4440e4c2aa3010fed2276ef3d2c6911e1eef18 /src/glx/tests/indirect_api.cpp | |
parent | 4761a8fea604b11e31c4e044ffc6d3d0b068a621 (diff) |
glx/test: fix building for osx
An additional stub for applegl_create_context() is needed
Cannot test indirect API as it's not built on osx, currently
Signed-off-by: Jon Turney <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/glx/tests/indirect_api.cpp')
-rw-r--r-- | src/glx/tests/indirect_api.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glx/tests/indirect_api.cpp b/src/glx/tests/indirect_api.cpp index 34304a185e4..b9a4ca0655e 100644 --- a/src/glx/tests/indirect_api.cpp +++ b/src/glx/tests/indirect_api.cpp @@ -705,6 +705,8 @@ void __indirect_glFramebufferTextureLayer(void) { } } /*@}*/ +#ifndef GLX_USE_APPLEGL + class IndirectAPI : public ::testing::Test { public: virtual void SetUp(); @@ -1518,3 +1520,5 @@ TEST_F(IndirectAPI, EXT_texture_array) { EXPECT_EQ((_glapi_proc) __indirect_glFramebufferTextureLayer, table[_glapi_get_proc_offset("glFramebufferTextureLayerEXT")]); } + +#endif |