mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 07:12:16 +00:00
Fix null pointer crash in rt column drawers if rt_init is not called before the first draw
This commit is contained in:
parent
67b2e2f52e
commit
6609403fbe
1 changed files with 6 additions and 0 deletions
|
@ -42,6 +42,12 @@ void R_EndDrawerCommands();
|
|||
class DrawerThread
|
||||
{
|
||||
public:
|
||||
DrawerThread()
|
||||
{
|
||||
dc_temp = dc_temp_buff;
|
||||
dc_temp_rgba = dc_temp_rgbabuff_rgba;
|
||||
}
|
||||
|
||||
std::thread thread;
|
||||
|
||||
// Thread line index of this thread
|
||||
|
|
Loading…
Reference in a new issue