diff options
| author | Dave Parks <davep@lindenlab.com> | 2022-09-20 12:28:45 -0500 |
|---|---|---|
| committer | Dave Parks <davep@lindenlab.com> | 2022-09-20 12:28:45 -0500 |
| commit | 1eeee12ecb4753cc4b651e18474bb80de45fcede (patch) | |
| tree | 3a61b841f1d5cb05958a41d526ba9e388bd45ab9 /indra/llrender/llcubemaparray.h | |
| parent | 7a9811ee115b7bb678d1310e0c833dc9ac7139ab (diff) | |
SL-18190 Don't allocate mips for irradiance maps because they're never generated. Disable OpenGL core profile on Intel by default.
Diffstat (limited to 'indra/llrender/llcubemaparray.h')
| -rw-r--r-- | indra/llrender/llcubemaparray.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llrender/llcubemaparray.h b/indra/llrender/llcubemaparray.h index cbc0692afb..19c86278a1 100644 --- a/indra/llrender/llcubemaparray.h +++ b/indra/llrender/llcubemaparray.h @@ -51,7 +51,8 @@ public: // res - resolution of each cube face // components - number of components per pixel // count - number of cube maps in the array - void allocate(U32 res, U32 components, U32 count); + // use_mips - if TRUE, mipmaps will be allocated for this cube map array and anisotropic filtering will be used + void allocate(U32 res, U32 components, U32 count, BOOL use_mips = TRUE); void bind(S32 stage); void unbind(); |
