Pyrogenesis  trunk
Namespaces | Macros | Functions
gfx.cpp File Reference
#include "precompiled.h"
#include "lib/sysdep/gfx.h"
#include "lib/external_libraries/libsdl.h"
#include "lib/ogl.h"
Include dependency graph for gfx.cpp:

Namespaces

 gfx
 

Macros

#define SHORTEN(what, charsToKeep)
 

Functions

std::wstring gfx::CardName ()
 
std::wstring gfx::DriverInfo ()
 
size_t gfx::MemorySizeMiB ()
 not implemented More...
 

Macro Definition Documentation

#define SHORTEN (   what,
  charsToKeep 
)
Value:
if(!wcsncmp(cardName, what, ARRAY_SIZE(what)-1))\
memmove(cardName+charsToKeep, cardName+ARRAY_SIZE(what)-1, (wcslen(cardName)-(ARRAY_SIZE(what)-1)+1)*sizeof(wchar_t));
#define ARRAY_SIZE(name)
Definition: code_annotation.h:336