Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local aSettings = {
- { cvar="sys_iGPUVendorID" },
- { cvar="sys_strPlatform" },
- { cvar="gfx_iDriverVersion" },
- { cvar="gfx_iReqDriverVersion" },
- { cvar="gfx_iAPI" },
- { cvar="gfx_bWrongDriver" }
- }
- -- vendor IDs
- local VID_NVIDIA = 0x10DE;
- local VID_ATI = 0x1002;
- local VID_INTEL = 0x8086; -- (0x163C?)
- local VID_S3 = 0x5333;
- local VID_MATROX = 0x102B;
- local VID_VIA = 0x1106;
- local VID_XGI = 0x18CA;
- local VID_STMICRO = 0x121A;
- local VID_3DFX = 0x104A;
- gfx_iDriverVersion=1000
- -- assume no driver version detection
- gfx_iReqDriverVersion = 0;
- gfx_bWrongDriver = 0;
- -- so, if driver version is too old
- if gfx_iDriverVersion<gfx_iReqDriverVersion then
- -- signal that to engine
- gfx_bWrongDriver = 1;
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement