mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-27 06:12:19 +00:00
- creation of dither texture no longer affects active unit
Red checkerboard was rendered upon startup instead of * the first saved game's thumbnail * the first game frame
This commit is contained in:
parent
19a5a2fd2b
commit
b6ff468aaf
1 changed files with 1 additions and 0 deletions
|
@ -576,6 +576,7 @@ void FGLRenderBuffers::BindDitherTexture(int texunit)
|
|||
.8515625, .6015625, .9765625, .7265625, .8671875, .6171875, .9921875, .7421875,
|
||||
};
|
||||
|
||||
glActiveTexture(GL_TEXTURE0 + texunit);
|
||||
mDitherTexture = Create2DTexture("DitherTexture", GL_R32F, 8, 8, data);
|
||||
}
|
||||
mDitherTexture.Bind(1, GL_NEAREST, GL_REPEAT);
|
||||
|
|
Loading…
Reference in a new issue