mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-22 17:18:39 +00:00
Prefer immutable texture storage when available
This commit is contained in:
parent
427a7e4998
commit
d5bf094f9a
7 changed files with 42 additions and 24 deletions
|
@ -14,20 +14,18 @@ namespace video
|
|||
class COpenGLCoreFeature
|
||||
{
|
||||
public:
|
||||
COpenGLCoreFeature() :
|
||||
BlendOperation(false), ColorAttachment(0), MultipleRenderTarget(0), MaxTextureUnits(1)
|
||||
{
|
||||
}
|
||||
COpenGLCoreFeature() = default;
|
||||
|
||||
virtual ~COpenGLCoreFeature()
|
||||
{
|
||||
}
|
||||
|
||||
bool BlendOperation;
|
||||
bool BlendOperation = false;
|
||||
bool TexStorage = false;
|
||||
|
||||
u8 ColorAttachment;
|
||||
u8 MultipleRenderTarget;
|
||||
u8 MaxTextureUnits;
|
||||
u8 ColorAttachment = 0;
|
||||
u8 MultipleRenderTarget = 0;
|
||||
u8 MaxTextureUnits = 0;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue