MCPcopy Create free account
hub / github.com/ZDoom/Raze / OutputResized

Method OutputResized

source/common/rendering/hwrenderer/data/flatvertices.cpp:134–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132//==========================================================================
133
134void FFlatVertexBuffer::OutputResized(int width, int height)
135{
136 vbo_shadowdata[4].Set(0, 0, 0, 0, 0);
137 vbo_shadowdata[5].Set(0, (float)height, 0, 0, 1);
138 vbo_shadowdata[6].Set((float)width, 0, 0, 1, 0);
139 vbo_shadowdata[7].Set((float)width, (float)height, 0, 1, 1);
140 Copy(4, 4);
141}
142
143//==========================================================================
144//

Callers 1

UpdateMethod · 0.80

Calls 2

CopyFunction · 0.85
SetMethod · 0.45

Tested by

no test coverage detected