mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 03:47:34 +00:00
LibSoftGPU: Reduce number of samplers to 2
OpenGL mandates at least 2 texture units when multitexturing is supported. This keeps our vertices lean and gives a nice speed improvement in glquake. Until we support shaders this should be enough.
This commit is contained in:
parent
12f63df329
commit
a5040ecdfc
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@
|
|||
namespace SoftGPU {
|
||||
|
||||
static constexpr bool ENABLE_STATISTICS_OVERLAY = false;
|
||||
static constexpr int NUM_SAMPLERS = 32;
|
||||
static constexpr int NUM_SAMPLERS = 2;
|
||||
static constexpr int SUBPIXEL_BITS = 5;
|
||||
static constexpr int NUM_LIGHTS = 8;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue