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

Function gpu_BindTexture

renderer/HardwareOpenGL.cpp:1493–1497  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1491}
1492
1493void gpu_BindTexture(int handle, int map_type, int slot) {
1494 opengl_MakeBitmapCurrent(handle, map_type, slot);
1495 opengl_MakeWrapTypeCurrent(handle, map_type, slot);
1496 opengl_MakeFilterTypeCurrent(handle, map_type, slot);
1497}
1498
1499void gpu_RenderPolygon(PosColorUVVertex *vData, uint32_t nv) {
1500 dglVertexPointer(3, GL_FLOAT, sizeof(*vData), &vData->pos);

Callers 3

rend_DrawPolygon2DFunction · 0.85
rend_DrawPolygon3DFunction · 0.85

Calls 3

opengl_MakeBitmapCurrentFunction · 0.70

Tested by

no test coverage detected