Team Fortress 2 Source Code as on 22/4/2020
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.

32 lines
836 B

  1. //========= Copyright 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. //-----------------------------------------------------------------------------
  14. // forward declarations
  15. //-----------------------------------------------------------------------------
  16. class IShaderSystem;
  17. //-----------------------------------------------------------------------------
  18. // forward declarations
  19. //-----------------------------------------------------------------------------
  20. inline IShaderSystem *GetShaderSystem()
  21. {
  22. extern IShaderSystem* g_pSLShaderSystem;
  23. return g_pSLShaderSystem;
  24. }
  25. #endif // SHADERDLL_GLOBAL_H