~random-stuff/random-stuff/reicast

« back to all changes in this revision

Viewing changes to newdc/rend/norend/norend.cpp

  • Committer: Stefanos Kornilios Mitsis Poiitidis
  • Date: 2013-12-28 21:28:50 UTC
  • mfrom: (8.1.19)
  • Revision ID: git-v1:f5d29677b32441c3f7870a198a1d5a8b0bdb8b9c
Merge branch 'androidui'

Conflicts:
        core/hw/pvr/spg.cpp
        core/hw/sh4/interpr/sh4_interpreter.cpp
        reicast/android/src/com/reicast/emulator/MainActivity.java

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
#include "hw/pvr/Renderer_if.h"
3
 
#include "oslib/oslib.h"
4
 
 
5
 
void rend_set_fb_scale(float x,float y) { }
6
 
void rend_text_invl(vram_block* bl) { }
7
 
 
8
 
struct norend : Renderer
9
 
{
10
 
        bool Init()
11
 
        {
12
 
                return true;
13
 
        }
14
 
 
15
 
        void Resize(int w, int h) { }
16
 
        void Term() { }
17
 
 
18
 
        bool Render()
19
 
        {
20
 
                return !pvrrc.isRTT;
21
 
        }
22
 
 
23
 
        void Present() { }
24
 
};
25
 
 
26
 
 
27
 
Renderer* rend_norend() { return new norend(); }