[build] Remove unused gl/implementation.hpp
This commit is contained in:
@@ -22,9 +22,10 @@ if(WITH_CXX11ABI)
|
||||
endif()
|
||||
|
||||
if(WITH_OSMESA)
|
||||
add_compile_options(-D__OSMESA__)
|
||||
# Default mesa mason binary is OSMesa.
|
||||
set(MASON_MESA_SUFFIX "")
|
||||
else()
|
||||
set(MASON_MESA_SUFFIX -glx)
|
||||
set(MASON_MESA_SUFFIX "-glx")
|
||||
endif()
|
||||
|
||||
if(IS_CI_BUILD)
|
||||
|
||||
@@ -54,7 +54,6 @@ set(MBGL_CORE_FILES
|
||||
|
||||
# gl
|
||||
include/mbgl/gl/gl.hpp
|
||||
include/mbgl/gl/implementation.hpp
|
||||
src/mbgl/gl/attribute.hpp
|
||||
src/mbgl/gl/color_mode.cpp
|
||||
src/mbgl/gl/color_mode.hpp
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#if defined(__QT__)
|
||||
#define MBGL_USE_QT 1
|
||||
#elif defined(__APPLE__)
|
||||
#include <TargetConditionals.h>
|
||||
#if TARGET_OS_IOS
|
||||
#define MBGL_USE_EAGL 1
|
||||
#else
|
||||
#define MBGL_USE_CGL 1
|
||||
#endif
|
||||
#elif defined(__OSMESA__)
|
||||
#define MBGL_USE_OSMESA 1
|
||||
#else
|
||||
#define MBGL_USE_GLX 1
|
||||
#endif
|
||||
@@ -1,6 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#include <mbgl/gl/implementation.hpp>
|
||||
#include <mbgl/gl/extension.hpp>
|
||||
|
||||
#include <mbgl/map/backend.hpp>
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#include <mbgl/gl/implementation.hpp>
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace mbgl {
|
||||
|
||||
Reference in New Issue
Block a user