Clear rendertex because KSP wont

feature-saving
Andrew Cassidy 3 years ago
parent 40d4e2cc8a
commit c9853049c5

@ -6,8 +6,8 @@
{
"MAJOR":0,
"MINOR":2,
"PATCH":3,
"BUILD":1
"PATCH":4,
"BUILD":0
},
"KSP_VERSION":
{

@ -1,4 +1,4 @@
# Conformal Decals v0.2.3
# Conformal Decals v0.2.4
[![Build Status](https://travis-ci.org/drewcassidy/KSP-Conformal-Decals.svg?branch=release)](https://travis-ci.org/drewcassidy/KSP-Conformal-Decals) [![Art: CC BY-SA 4.0](https://img.shields.io/badge/Art%20License-CC%20BY--SA%204.0-orange.svg)](https://creativecommons.org/licenses/by-sa/4.0/) [![Code: GPL v3](https://img.shields.io/badge/Code%20License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
![Screenshot](http://pileof.rocks/KSP/images/ConformalDecalsHeader.png)

@ -272,6 +272,7 @@ namespace ConformalDecals.Text {
}
}
GL.Clear(false, true, Color.black); //KSP doesnt clear render textures before using them so we need to clear afterwards, as well. Thanks Squad.
GL.PopMatrix();
// COPY TEXTURE BACK INTO RAM

@ -1,3 +1,7 @@
v0.2.4
- Fixes:
- Fixed red text appearing on planets due to KSP bug by clearing render textures afterwards.
v0.2.3
------
- Fixes:

Loading…
Cancel
Save