mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-30 19:22:14 +00:00
Improve texture creation logging and checking
This commit is contained in:
parent
ae97435d80
commit
b1cb5fcb9f
6 changed files with 37 additions and 19 deletions
|
@ -278,9 +278,6 @@ bool COpenGL3DriverBase::genericDriverInit(const core::dimension2d<u32> &screenS
|
|||
// set fog mode
|
||||
setFog(FogColor, FogType, FogStart, FogEnd, FogDensity, PixelFog, RangeFog);
|
||||
|
||||
// create matrix for flipping textures
|
||||
TextureFlipMatrix.buildTextureTransform(0.0f, core::vector2df(0, 0), core::vector2df(0, 1.0f), core::vector2df(1.0f, -1.0f));
|
||||
|
||||
// We need to reset once more at the beginning of the first rendering.
|
||||
// This fixes problems with intermediate changes to the material during texture load.
|
||||
ResetRenderStates = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue