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.

44 lines
981 B

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $Header: $
  6. // $NoKeywords: $
  7. //=============================================================================//
  8. #ifndef SHADERDLL_GLOBAL_H
  9. #define SHADERDLL_GLOBAL_H
  10. #ifdef _WIN32
  11. #pragma once
  12. #endif
  13. #ifdef _PS3
  14. class CPs3NonVirt_IShaderSystem;
  15. inline CPs3NonVirt_IShaderSystem *GetShaderSystem()
  16. {
  17. return NULL;
  18. }
  19. #else
  20. //-----------------------------------------------------------------------------
  21. // forward declarations
  22. //-----------------------------------------------------------------------------
  23. class IShaderSystem;
  24. //-----------------------------------------------------------------------------
  25. // forward declarations
  26. //-----------------------------------------------------------------------------
  27. inline IShaderSystem *GetShaderSystem()
  28. {
  29. extern IShaderSystem* g_pSLShaderSystem;
  30. return g_pSLShaderSystem;
  31. }
  32. #endif
  33. #endif // SHADERDLL_GLOBAL_H