Browse Source

ref: add REF_D3D placeholder for compatibiltiy(not planned anyway)

pull/2/head
Alibek Omarov 5 years ago
parent
commit
0cf1e3b1da
  1. 5
      engine/ref_api.h

5
engine/ref_api.h

@ -149,10 +149,13 @@ enum ref_defaultsprite_e @@ -149,10 +149,13 @@ enum ref_defaultsprite_e
REF_CHROME_SPRITE // cl_sprite_shell
};
// the order of first three is important!
// so you can use this value in IEngineStudio.StudioIsHardware
enum ref_graphic_apis_e
{
REF_SOFTWARE, // hypothetical: just make a surface to draw on, in software
REF_GL, // create GL context
REF_GL, // create GL context
REF_D3D, // Direct3D
};
typedef enum

Loading…
Cancel
Save