(gl_common.h) Cleanups

This commit is contained in:
twinaphex 2015-07-12 04:20:48 +02:00
parent 4b8e65322c
commit b46f3c9c29

View File

@ -17,22 +17,12 @@
#ifndef __GL_COMMON_H #ifndef __GL_COMMON_H
#define __GL_COMMON_H #define __GL_COMMON_H
#include "../../general.h" #include <string.h>
#include "../font_renderer_driver.h"
#include <gfx/math/matrix_4x4.h>
#include <gfx/scaler/scaler.h>
#include <formats/image.h>
#include "../video_context_driver.h"
#include "../video_shader_driver.h"
#include "../video_shader_parse.h"
#include <retro_inline.h>
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "../../config.h" #include "../../config.h"
#endif #endif
#include <string.h>
#ifdef HAVE_EGL #ifdef HAVE_EGL
#include <EGL/egl.h> #include <EGL/egl.h>
#include <EGL/eglext.h> #include <EGL/eglext.h>
@ -40,6 +30,16 @@
#include <glsym/glsym.h> #include <glsym/glsym.h>
#include <retro_inline.h>
#include <gfx/math/matrix_4x4.h>
#include <gfx/scaler/scaler.h>
#include <formats/image.h>
#include "../../general.h"
#include "../font_renderer_driver.h"
#include "../video_context_driver.h"
#include "../video_shader_driver.h"
#include "../video_shader_parse.h"
#if (!defined(HAVE_OPENGLES) || defined(HAVE_OPENGLES3)) #if (!defined(HAVE_OPENGLES) || defined(HAVE_OPENGLES3))
#ifdef GL_PIXEL_PACK_BUFFER #ifdef GL_PIXEL_PACK_BUFFER
@ -177,7 +177,6 @@
#endif #endif
#endif #endif
struct gfx_fbo_rect struct gfx_fbo_rect
{ {
unsigned img_width; unsigned img_width;