diff options
author | bunnei <bunneidev@gmail.com> | 2018-03-25 04:42:28 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-03-27 03:17:00 +0200 |
commit | 1bfc0dc2dbb0caf02dce673e08a66762afee1457 (patch) | |
tree | a0f9793ccca2ebbd5d0471312f5b51a6ba6867e3 /src/video_core/renderer_opengl/gl_rasterizer.cpp | |
parent | renderer_opengl: Logging, etc. cleanup. (diff) | |
download | yuzu-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 |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.cpp | 3 |
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) { |