aboutsummaryrefslogtreecommitdiff
path: root/layers
diff options
context:
space:
mode:
authorIan Elliott <ian@LunarG.com>2015-02-04 15:19:32 -0700
committerIan Elliott <ian@lunarg.com>2015-02-05 11:06:32 -0700
commitf6ae2f94912adc8a57e46011224a8ffdab077fa2 (patch)
tree767c187ae19e9b074ccacffee32ceb61191222a9 /layers
parent6b7f1e57a774c606858b8424ae26779f296391b5 (diff)
downloadusermoji-f6ae2f94912adc8a57e46011224a8ffdab077fa2.tar.xz
Win: Eliminate VS2013 miscellaneous additional compiler warnings.
Diffstat (limited to 'layers')
-rw-r--r--layers/CMakeLists.txt1
-rw-r--r--layers/basic.cpp1
2 files changed, 0 insertions, 2 deletions
diff --git a/layers/CMakeLists.txt b/layers/CMakeLists.txt
index 8235ff8f..38a10e3a 100644
--- a/layers/CMakeLists.txt
+++ b/layers/CMakeLists.txt
@@ -39,7 +39,6 @@ include_directories(
)
if (WIN32)
- set (CMAKE_CXX_FLAGS "-std=c++11")
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DXGL_PROTOTYPES -D_CRT_SECURE_NO_WARNINGS")
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DXGL_PROTOTYPES -D_CRT_SECURE_NO_WARNINGS")
endif()
diff --git a/layers/basic.cpp b/layers/basic.cpp
index ac8cf803..41abf209 100644
--- a/layers/basic.cpp
+++ b/layers/basic.cpp
@@ -33,7 +33,6 @@ static std::unordered_map<void *, XGL_LAYER_DISPATCH_TABLE *> tableMap;
static XGL_LAYER_DISPATCH_TABLE * initLayerTable(const XGL_BASE_LAYER_OBJECT *gpuw)
{
- xglGetProcAddrType fpGPA;
XGL_LAYER_DISPATCH_TABLE *pTable;
assert(gpuw);