Blender Git Commit Log

Git Commits -> Revision 3c248ff

Revision 3c248ff by Sergey Sharybin (cycles-x)
April 8, 2021, 13:06 (GMT)
Cycles: Fix wrong OpenGL context manipulation in some cases

When the BlenderSession is destructed from an initialization of a
temporary are the current active context is window, not the draw
manager.

Made it so context release/activation goes correct in this case.

Steps to reproduce an original issue:
- Compile in debug mode, so that asserts are active.
- Start Cycles viewport render.
- Hit shortcut to open file (Cmd-O / Ctrl-O).

Commit Details:

Full Hash: 3c248ffd7724a9c56ea35af092c49eb92f8c770f
Parent Commit: c1ae4dc
Lines Changed: +30, -17

3 Modified Paths:

/intern/cycles/blender/blender_gpu_display.cpp (+6, -6) (Diff)
/source/blender/draw/DRW_engine.h (+2, -2) (Diff)
/source/blender/draw/intern/draw_manager.c (+22, -9) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021