MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / set_tex_raster

Function set_tex_raster

src/SB/Core/x/xFont.cpp:720–734  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

718 }
719
720 RwRaster* set_tex_raster(RwRaster* raster)
721 {
722 RwRaster* r;
723 RwRenderStateGet(rwRENDERSTATETEXTURERASTER, (void*)&r);
724
725 if (raster == r)
726 {
727 return raster;
728 }
729
730 tex_flush();
731 RwRenderStateSet(rwRENDERSTATETEXTURERASTER, (void*)raster);
732
733 return r;
734 }
735} // namespace
736
737void xfont::irender(const char* text, F32 x, F32 y) const

Callers 2

irenderMethod · 0.85
render_tag_texFunction · 0.85

Calls 1

tex_flushFunction · 0.85

Tested by

no test coverage detected