Fix T73169: Side by Side Stereo Rendering Glitches
Side by side and top down views were rendered using an unset matrix. This fix will reset the matrix just before copying the views to the screen. Reviewed By: Clément Foucault, Dalai Felinto Differential Revision: https://developer.blender.org/D7777
This commit is contained in:
parent
ac8b36535e
commit
fc06c248ed
Notes:
blender-bot
2023-02-14 02:22:13 +01:00
Referenced by issue #73169, UI shifts/shows artifacts in side-by-side stereoscopic 3D mode
|
@ -848,6 +848,7 @@ static void wm_draw_window(bContext *C, wmWindow *win)
|
|||
glActiveTexture(GL_TEXTURE0);
|
||||
glBindTexture(GL_TEXTURE_2D, GPU_texture_opengl_bindcode(texture));
|
||||
|
||||
wmWindowViewport(win);
|
||||
if (win->stereo3d_format->display_mode == S3D_DISPLAY_SIDEBYSIDE) {
|
||||
wm_stereo3d_draw_sidebyside(win, view);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue