All pastes #168073 Raw Edit

Unnamed

public text v1 · immutable
·published 2006-09-12 17:45 UTC
rendered paste body
static bool loadbitmap = false;
   
string bmppic = getOgcDirFile(cmd.argC(423));
bmppic += "console.bmp";

if (!loadbitmap)
{
  if(CreateTexture(g_Texture, (char*)bmppic.c_str(), 0))
    loadbitmap = true;
}