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 committed by Christoph Oelckers
parent 5da9f71589
commit 6806b498f8

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