Removed the rest of the compiler warnings

This commit is contained in:
2018-02-21 21:42:55 -08:00
parent fb6557fba2
commit da461a0ee4
18 changed files with 32 additions and 42 deletions

View File

@@ -1,4 +1,8 @@
#pragma once
// As if hardware is ever going to move away from 1.2
#define CL_USE_DEPRECATED_OPENCL_1_2_APIS
#ifdef linux
#include <CL/cl.h>
#include <CL/opencl.h>
@@ -7,9 +11,6 @@
// Good lord, windows.h overwrote the std::min() max() definitions
#define NOMINMAX
#include <windows.h>
// As if hardware is ever going to move away from 1.2
#define CL_USE_DEPRECATED_OPENCL_1_2_APIS
#include <CL/cl.h>
#include <CL/opencl.h>
@@ -20,17 +21,15 @@
#include <OpenCL/cl_gl_ext.h>
#include <OpenCL/cl_ext.h>
#endif
#include "util.hpp"
#pragma once
#include <chrono>
#include <SFML/Graphics.hpp>
//#include "CLCaster.h"
#include "Camera.h"
#include "Input.h"
#include "LightController.h"
#include "LightHandle.h"
#include "map/Map.h"
#include <chrono>
#include "imgui/imgui-SFML.h"
#include "util.hpp"
// Srsly people who macro error codes are the devil
#undef ERROR