mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-26 17:06:59 +00:00
added make_floor_textures in raycaster
This commit is contained in:
parent
7787f26bc2
commit
dee519badd
@ -2714,6 +2714,12 @@ EX void cast() {
|
|||||||
}
|
}
|
||||||
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
|
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
|
||||||
|
|
||||||
|
if(!floor_textures) {
|
||||||
|
println(hlog, "make_floor_textures called");
|
||||||
|
make_floor_textures();
|
||||||
|
check_cgi();
|
||||||
|
}
|
||||||
|
|
||||||
glActiveTexture(GL_TEXTURE0 + 0);
|
glActiveTexture(GL_TEXTURE0 + 0);
|
||||||
glBindTexture(GL_TEXTURE_2D, floor_textures->renderedTexture);
|
glBindTexture(GL_TEXTURE_2D, floor_textures->renderedTexture);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user