[build] Remove unused gl/implementation.hpp

This commit is contained in:
Bruno de Oliveira Abinader
2016-11-08 12:26:02 +02:00
parent 8e99ae44dd
commit 687ee1e1c9
5 changed files with 3 additions and 22 deletions

View File

@@ -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)

View File

@@ -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

View File

@@ -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

View File

@@ -1,6 +1,5 @@
#pragma once
#include <mbgl/gl/implementation.hpp>
#include <mbgl/gl/extension.hpp>
#include <mbgl/map/backend.hpp>

View File

@@ -1,7 +1,5 @@
#pragma once
#include <mbgl/gl/implementation.hpp>
#include <memory>
namespace mbgl {