d3d_texlimit

At game start this variable gives the maximum texture size the 3D card can display. On most 3D cards this is 2048 or 4096. Old 3D cards have a maximum texture size of 1024. All textures will be automatically 'shrunk' to the size given by this variable.

Range:

8 .. 4096

Type:

var

Remarks:

Example (lite-C):

function main()
{
   d3d_texlimit = 256; // enforce 256 pixels max texture size 
   ...

See also:

d3d_texfree ► latest version online