mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Add OpenGL support.
This commit is contained in:
parent
c354f59b72
commit
dd08fd2e7d
55 changed files with 2957 additions and 802 deletions
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
#include "core/strings/stringFunctions.h"
|
||||
#include "core/util/str.h"
|
||||
|
||||
#include "gfx/gfxDevice.h"
|
||||
#include "langElement.h"
|
||||
|
||||
//**************************************************************************
|
||||
|
|
@ -158,6 +158,9 @@ void Var::print( Stream &stream )
|
|||
if( structName[0] != '\0' )
|
||||
{
|
||||
stream.write( dStrlen((char*)structName), structName );
|
||||
if(GFX->getAdapterType() == OpenGL)
|
||||
stream.write( 1, "_" );
|
||||
else
|
||||
stream.write( 1, "." );
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue