Replacing includes of windows headers with base/platform.h.

This commit is contained in:
Ben Vanik
2015-07-01 09:02:04 -07:00
parent 88d01e8375
commit dec0d12cc9
23 changed files with 66 additions and 54 deletions

View File

@@ -12,8 +12,7 @@
#include <memory>
#include "third_party/GL/glew.h"
#include "third_party/GL/wglew.h"
#include "xenia/ui/gl/gl.h"
namespace xe {
namespace ui {

View File

@@ -12,7 +12,7 @@
#include <unordered_map>
#include "xenia/ui/gl/gl_context.h"
#include "xenia/ui/gl/gl.h"
namespace xe {
namespace ui {

21
src/xenia/ui/gl/gl.h Normal file
View File

@@ -0,0 +1,21 @@
/**
******************************************************************************
* Xenia : Xbox 360 Emulator Research Project *
******************************************************************************
* Copyright 2015 Ben Vanik. All rights reserved. *
* Released under the BSD license - see LICENSE in the root for more details. *
******************************************************************************
*/
#ifndef XENIA_UI_GL_GL_H_
#define XENIA_UI_GL_GL_H_
#include "xenia/base/platform.h"
#include "third_party/GL/glew.h"
#include "third_party/GL/wglew.h"
extern "C" GLEWContext* glewGetContext();
extern "C" WGLEWContext* wglewGetContext();
#endif // XENIA_UI_GL_GL_H_

View File

@@ -14,15 +14,11 @@
#include <memory>
#include "third_party/GL/glew.h"
#include "third_party/GL/wglew.h"
#include "xenia/ui/gl/blitter.h"
#include "xenia/ui/gl/gl.h"
DECLARE_bool(thread_safe_gl);
extern "C" GLEWContext* glewGetContext();
extern "C" WGLEWContext* wglewGetContext();
namespace xe {
namespace ui {
namespace gl {