14 lines
214 B
C++
14 lines
214 B
C++
#include "rendering_device.h"
|
|
|
|
|
|
RenderingDevice *RenderingDevice::singleton=NULL;
|
|
|
|
RenderingDevice *RenderingDevice::get_singleton() {
|
|
return singleton;
|
|
}
|
|
|
|
RenderingDevice::RenderingDevice() {
|
|
|
|
singleton=this;
|
|
}
|