mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 07:34:45 +00:00
Merge pull request #940 from BeamNG/add_opengl_support
Add/Activate OpenGL render.
This commit is contained in:
commit
98e3651db5
55 changed files with 2958 additions and 803 deletions
|
|
@ -68,8 +68,8 @@ function onStart()
|
|||
|
||||
if ($platform $= "macos")
|
||||
$pref::Video::displayDevice = "OpenGL";
|
||||
else
|
||||
$pref::Video::displayDevice = "D3D9";
|
||||
//else
|
||||
//$pref::Video::displayDevice = "D3D9";
|
||||
|
||||
// Initialise stuff.
|
||||
exec("./scripts/client/core.cs");
|
||||
|
|
|
|||
|
|
@ -68,8 +68,8 @@ function onStart()
|
|||
|
||||
if ($platform $= "macos")
|
||||
$pref::Video::displayDevice = "OpenGL";
|
||||
else
|
||||
$pref::Video::displayDevice = "D3D9";
|
||||
//else
|
||||
//$pref::Video::displayDevice = "D3D9";
|
||||
|
||||
// Initialise stuff.
|
||||
exec("./scripts/client/core.cs");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue