mirror of https://github.com/mgba-emu/mgba.git
Feature: Move video-backend.c to a sensible place
This commit is contained in:
parent
727ba5b2f2
commit
5f6948351b
|
@ -747,11 +747,6 @@ elseif(BUILD_GLES2)
|
|||
set(CPACK_DEBIAN_PACKAGE_DEPENDS "${CPACK_DEBIAN_PACKAGE_DEPENDS},libgles2")
|
||||
endif()
|
||||
|
||||
if(USE_EPOXY OR BUILD_GL OR BUILD_GLES2)
|
||||
# This file should probably go somewhere else
|
||||
list(APPEND FEATURE_SRC ${CMAKE_CURRENT_SOURCE_DIR}/src/platform/video-backend.c)
|
||||
endif()
|
||||
|
||||
if(WIN32 AND NOT (LIBMGBA_ONLY OR SKIP_LIBRARY OR USE_EPOXY))
|
||||
message(FATAL_ERROR "Windows requires epoxy module!")
|
||||
endif()
|
||||
|
|
|
@ -3,6 +3,7 @@ set(SOURCE_FILES
|
|||
commandline.c
|
||||
thread-proxy.c
|
||||
updater.c
|
||||
video-backend.c
|
||||
video-logger.c)
|
||||
|
||||
set(GUI_FILES
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#include "video-backend.h"
|
||||
#include <mgba/feature/video-backend.h>
|
||||
|
||||
void VideoBackendGetFrame(const struct VideoBackend* v, struct mRectangle* frame) {
|
||||
memset(frame, 0, sizeof(*frame));
|
|
@ -21,7 +21,7 @@ CXX_GUARD_START
|
|||
#include <GL/gl.h>
|
||||
#endif
|
||||
|
||||
#include "platform/video-backend.h"
|
||||
#include <mgba/feature/video-backend.h>
|
||||
|
||||
struct mGLContext {
|
||||
struct VideoBackend d;
|
||||
|
|
|
@ -24,7 +24,7 @@ CXX_GUARD_START
|
|||
#include <GLES2/gl2.h>
|
||||
#endif
|
||||
|
||||
#include "platform/video-backend.h"
|
||||
#include <mgba/feature/video-backend.h>
|
||||
|
||||
union mGLES2UniformValue {
|
||||
GLfloat f;
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
#include "CoreController.h"
|
||||
#include "VideoProxy.h"
|
||||
|
||||
#include "platform/video-backend.h"
|
||||
#include <mgba/feature/video-backend.h>
|
||||
|
||||
class QOpenGLPaintDevice;
|
||||
class QOpenGLWidget;
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
#include <QSpinBox>
|
||||
|
||||
#include <mgba/core/version.h>
|
||||
#include <mgba/feature/video-backend.h>
|
||||
#include <mgba-util/vfs.h>
|
||||
#include "platform/video-backend.h"
|
||||
|
||||
#if defined(BUILD_GL) || defined(BUILD_GLES2)
|
||||
|
||||
|
|
Loading…
Reference in New Issue