summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-03-25 04:42:28 +0200
committerbunnei <bunneidev@gmail.com>2018-03-27 03:17:00 +0200
commit1bfc0dc2dbb0caf02dce673e08a66762afee1457 (patch)
treea0f9793ccca2ebbd5d0471312f5b51a6ba6867e3
parentrenderer_opengl: Logging, etc. cleanup. (diff)
downloadyuzu-1bfc0dc2dbb0caf02dce673e08a66762afee1457.tar
yuzu-1bfc0dc2dbb0caf02dce673e08a66762afee1457.tar.gz
yuzu-1bfc0dc2dbb0caf02dce673e08a66762afee1457.tar.bz2
yuzu-1bfc0dc2dbb0caf02dce673e08a66762afee1457.tar.lz
yuzu-1bfc0dc2dbb0caf02dce673e08a66762afee1457.tar.xz
yuzu-1bfc0dc2dbb0caf02dce673e08a66762afee1457.tar.zst
yuzu-1bfc0dc2dbb0caf02dce673e08a66762afee1457.zip
-rw-r--r--src/video_core/renderer_opengl/gl_rasterizer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp
index 72481509b..630b46737 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer.cpp
+++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp
@@ -196,7 +196,8 @@ void RasterizerOpenGL::SetupVertexArray(u8* array_ptr, GLintptr buffer_offset) {
void RasterizerOpenGL::SetupVertexShader(VSUniformData* ub_ptr, GLintptr buffer_offset) {
MICROPROFILE_SCOPE(OpenGL_VS);
- UNIMPLEMENTED();
+ LOG_CRITICAL(Render_OpenGL, "Emulated shaders are not supported! Using a passthrough shader.");
+ glUseProgramStages(pipeline.handle, GL_VERTEX_SHADER_BIT, current_shader->shader.handle);
}
void RasterizerOpenGL::SetupFragmentShader(FSUniformData* ub_ptr, GLintptr buffer_offset) {