flycast/core/rend/norend/norend.cpp

35 lines
514 B
C++
Raw Normal View History

2013-12-19 17:10:14 +00:00
#include "hw/pvr/Renderer_if.h"
#include "oslib/oslib.h"
void rend_set_fb_scale(float x,float y) { }
void rend_text_invl(vram_block* bl) { }
struct norend : Renderer
{
bool Init()
{
return true;
}
void Resize(int w, int h) { }
void Term() { }
2014-09-30 09:00:46 +00:00
bool Process(TA_context* ctx) { return true; }
void DrawOSD() { }
2013-12-19 17:10:14 +00:00
bool Render()
{
2014-09-30 09:00:46 +00:00
return true;//!pvrrc.isRTT;
2013-12-19 17:10:14 +00:00
}
void Present() { }
};
Renderer* rend_norend() { return new norend(); }
2014-09-30 09:00:46 +00:00
u32 GetTexture(TSP tsp,TCW tcw) { return 0; }