mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-01-07 09:43:40 +08:00
34 lines
883 B
C++
34 lines
883 B
C++
//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
|
|
//
|
|
// Purpose:
|
|
//
|
|
// $Header: $
|
|
// $NoKeywords: $
|
|
//=============================================================================//
|
|
|
|
#ifndef SHADERDLL_GLOBAL_H
|
|
#define SHADERDLL_GLOBAL_H
|
|
|
|
#ifdef _WIN32
|
|
#pragma once
|
|
#endif
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// forward declarations
|
|
//-----------------------------------------------------------------------------
|
|
class IShaderSystem;
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// forward declarations
|
|
//-----------------------------------------------------------------------------
|
|
inline IShaderSystem *GetShaderSystem()
|
|
{
|
|
extern IShaderSystem* g_pSLShaderSystem;
|
|
return g_pSLShaderSystem;
|
|
}
|
|
|
|
|
|
#endif // SHADERDLL_GLOBAL_H
|