summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2015-06-21 14:40:28 +0200
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2015-06-28 01:36:54 +0200
commit596b7c4f63e38d275b6a056d6125c0027a1376e7 (patch)
treefb0ab64194f7beb8ddeab145db68d27401ea9790 /src/video_core
parentCommon: Cleanup memory and misc includes. (diff)
downloadyuzu-596b7c4f63e38d275b6a056d6125c0027a1376e7.tar
yuzu-596b7c4f63e38d275b6a056d6125c0027a1376e7.tar.gz
yuzu-596b7c4f63e38d275b6a056d6125c0027a1376e7.tar.bz2
yuzu-596b7c4f63e38d275b6a056d6125c0027a1376e7.tar.lz
yuzu-596b7c4f63e38d275b6a056d6125c0027a1376e7.tar.xz
yuzu-596b7c4f63e38d275b6a056d6125c0027a1376e7.tar.zst
yuzu-596b7c4f63e38d275b6a056d6125c0027a1376e7.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/renderer_opengl/gl_rasterizer.cpp8
-rw-r--r--src/video_core/renderer_opengl/gl_rasterizer.h4
2 files changed, 9 insertions, 3 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp
index 518f79331..2edc38ac5 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer.cpp
+++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp
@@ -2,10 +2,14 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
+#include <cstring>
+#include <memory>
+
#include "common/color.h"
-#include "core/settings.h"
#include "core/hw/gpu.h"
+#include "core/memory.h"
+#include "core/settings.h"
#include "video_core/pica.h"
#include "video_core/utils.h"
@@ -16,8 +20,6 @@
#include "generated/gl_3_2_core.h"
-#include <memory>
-
static bool IsPassThroughTevStage(const Pica::Regs::TevStageConfig& stage) {
return (stage.color_op == Pica::Regs::TevStageConfig::Operation::Replace &&
stage.alpha_op == Pica::Regs::TevStageConfig::Operation::Replace &&
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.h b/src/video_core/renderer_opengl/gl_rasterizer.h
index d7d422b1f..911ae8c36 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer.h
+++ b/src/video_core/renderer_opengl/gl_rasterizer.h
@@ -4,6 +4,10 @@
#pragma once
+#include <vector>
+
+#include "common/common_types.h"
+
#include "video_core/hwrasterizer_base.h"
#include "gl_state.h"