Home
last modified time | relevance | path

Searched refs:infoTextureIDs (Results 1 – 2 of 2) sorted by relevance

/dports/games/spring/spring_98.0/rts/Map/
H A DBaseGroundDrawer.cpp34 memset(&infoTextureIDs[0], 0, sizeof(infoTextureIDs)); in CBaseGroundDrawer()
79 glDeleteTextures(1, &infoTextureIDs[n]); in ~CBaseGroundDrawer()
105 glBindTexture(GL_TEXTURE_2D, infoTextureIDs[drawMode]); in DrawTrees()
477 if (infoTextureIDs[texDrawMode] != 0 && highResInfoTexWanted != highResInfoTex) { in UpdateExtraTexture()
478 glDeleteTextures(1, &infoTextureIDs[texDrawMode]); in UpdateExtraTexture()
479 infoTextureIDs[texDrawMode] = 0; in UpdateExtraTexture()
482 if (infoTextureIDs[texDrawMode] == 0) { in UpdateExtraTexture()
485 glGenTextures(1, &infoTextureIDs[texDrawMode]); in UpdateExtraTexture()
486 glBindTexture(GL_TEXTURE_2D, infoTextureIDs[texDrawMode]); in UpdateExtraTexture()
509 glBindTexture(GL_TEXTURE_2D, infoTextureIDs[texDrawMode]); in UpdateExtraTexture()
H A DBaseGroundDrawer.h96 GLuint GetInfoTexture(unsigned int idx) const { return infoTextureIDs[idx]; } in GetInfoTexture()
97 GLuint GetActiveInfoTexture() const { return infoTextureIDs[drawMode]; } in GetActiveInfoTexture()
129 GLuint infoTextureIDs[NUM_INFOTEXTURES]; variable