aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/duckstation
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/duckstation')
-rw-r--r--src/frontend/duckstation/gl/context.h1
-rw-r--r--src/frontend/duckstation/gl/context_agl.h1
-rw-r--r--src/frontend/duckstation/gl/context_wgl.cpp1
-rw-r--r--src/frontend/duckstation/gl/x11_window.h1
-rw-r--r--src/frontend/duckstation/window_info.h4
5 files changed, 6 insertions, 2 deletions
diff --git a/src/frontend/duckstation/gl/context.h b/src/frontend/duckstation/gl/context.h
index 41d8a2c..06e0bc5 100644
--- a/src/frontend/duckstation/gl/context.h
+++ b/src/frontend/duckstation/gl/context.h
@@ -6,6 +6,7 @@
#include <vector>
namespace GL {
+using namespace melonDS;
class Context
{
public:
diff --git a/src/frontend/duckstation/gl/context_agl.h b/src/frontend/duckstation/gl/context_agl.h
index 459bf2f..4ae5202 100644
--- a/src/frontend/duckstation/gl/context_agl.h
+++ b/src/frontend/duckstation/gl/context_agl.h
@@ -13,6 +13,7 @@ struct NSView;
namespace GL {
+using namespace melonDS;
class ContextAGL final : public Context
{
public:
diff --git a/src/frontend/duckstation/gl/context_wgl.cpp b/src/frontend/duckstation/gl/context_wgl.cpp
index 03c18e8..09f994c 100644
--- a/src/frontend/duckstation/gl/context_wgl.cpp
+++ b/src/frontend/duckstation/gl/context_wgl.cpp
@@ -3,6 +3,7 @@
#include "../log.h"
#include "../scoped_guard.h"
#include "loader.h"
+using namespace melonDS;
Log_SetChannel(GL::ContextWGL);
// TODO: get rid of this
diff --git a/src/frontend/duckstation/gl/x11_window.h b/src/frontend/duckstation/gl/x11_window.h
index aff38b7..e216a05 100644
--- a/src/frontend/duckstation/gl/x11_window.h
+++ b/src/frontend/duckstation/gl/x11_window.h
@@ -4,6 +4,7 @@
#include <X11/Xutil.h>
namespace GL {
+using namespace melonDS;
class X11Window
{
public:
diff --git a/src/frontend/duckstation/window_info.h b/src/frontend/duckstation/window_info.h
index 44912ca..4352617 100644
--- a/src/frontend/duckstation/window_info.h
+++ b/src/frontend/duckstation/window_info.h
@@ -28,8 +28,8 @@ struct WindowInfo
Type type = Type::Surfaceless;
void* display_connection = nullptr;
void* window_handle = nullptr;
- u32 surface_width = 0;
- u32 surface_height = 0;
+ melonDS::u32 surface_width = 0;
+ melonDS::u32 surface_height = 0;
float surface_refresh_rate = 0.0f;
float surface_scale = 1.0f;
SurfaceFormat surface_format = SurfaceFormat::RGB8;