Fix null pointer crash in rt column drawers if rt_init is not called before the first draw

This commit is contained in:
Magnus Norddahl 2016-12-09 10:27:18 +01:00
parent 67b2e2f52e
commit 6609403fbe
1 changed files with 6 additions and 0 deletions

View File

@ -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