MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / rend_EndFrame

Function rend_EndFrame

legacy/renderer/renderer.cpp:918–945  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

916 }
917}
918void rend_EndFrame() {
919 switch (Renderer_type) {
920 case RENDERER_SOFTWARE_16BIT:
921 case RENDERER_SOFTWARE_8BIT:
922#ifdef USE_SOFTWARE
923 tex_EndFrame();
924#endif
925 break;
926 case RENDERER_OPENGL:
927#ifdef USE_OPENGL
928 opengl_EndFrame();
929#endif
930 break;
931 case RENDERER_GLIDE:
932#ifdef USE_GLIDE
933 glide_EndFrame();
934#endif
935 break;
936 case RENDERER_DIRECT3D:
937#ifdef USE_D3D
938 d3d_EndFrame();
939#endif
940 break;
941 default:
942 Int3();
943 break;
944 }
945}
946// draws a scaled 2d bitmap to our buffer
947void rend_DrawScaledBitmap(int x1, int y1, int x2, int y2, int bm, float u0, float v0, float u1, float v1, int color,
948 float *alphas) {

Callers 4

FontKernFunction · 0.50
message_boxFunction · 0.50
FontCreateFunction · 0.50
FontViewFunction · 0.50

Calls 2

opengl_EndFrameFunction · 0.85
d3d_EndFrameFunction · 0.85

Tested by

no test coverage detected