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.

27 lines
547 B

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #include <windows.h>
  8. #include "Render3D.h"
  9. #include "Render3DMS.h"
  10. // memdbgon must be the last include file in a .cpp file!!!
  11. #include <tier0/memdbgon.h>
  12. CRender3D *CreateRender3D(Render3DType_t eRender3DType)
  13. {
  14. switch (eRender3DType)
  15. {
  16. case Render3DTypeMaterialSystem:
  17. {
  18. return(new CRender3DMS());
  19. }
  20. }
  21. return(NULL);
  22. }