Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.0 KiB

  1. #ifndef RENDERMECHANISM_H
  2. #define RENDERMECHANISM_H
  3. #if defined(DX_TO_GL_ABSTRACTION)
  4. #undef PROTECTED_THINGS_ENABLE
  5. #include <GL/gl.h>
  6. #include <GL/glext.h>
  7. #include "tier0/basetypes.h"
  8. #include "tier0/platform.h"
  9. #include "togl/glmdebug.h"
  10. #include "togl/glbase.h"
  11. #include "togl/glentrypoints.h"
  12. #include "togl/glmdisplay.h"
  13. #include "togl/glmdisplaydb.h"
  14. #include "togl/glmgrbasics.h"
  15. #include "togl/glmgrext.h"
  16. #include "togl/cglmbuffer.h"
  17. #include "togl/cglmtex.h"
  18. #include "togl/cglmfbo.h"
  19. #include "togl/cglmprogram.h"
  20. #include "togl/cglmquery.h"
  21. #include "togl/glmgr.h"
  22. #include "togl/dxabstract_types.h"
  23. #include "togl/dxabstract.h"
  24. #else
  25. //USE_ACTUAL_DX
  26. #ifdef WIN32
  27. #ifdef _X360
  28. #include "d3d9.h"
  29. #include "d3dx9.h"
  30. #else
  31. #include <windows.h>
  32. #include "../../dx9sdk/include/d3d9.h"
  33. #include "../../dx9sdk/include/d3dx9.h"
  34. #endif
  35. typedef HWND VD3DHWND;
  36. #endif
  37. #define GLMPRINTF(args)
  38. #define GLMPRINTSTR(args)
  39. #define GLMPRINTTEXT(args)
  40. #endif // defined(DX_TO_GL_ABSTRACTION)
  41. #endif // RENDERMECHANISM_H