1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-04-05 10:17:03 +00:00

delete[] xbuffer

This commit is contained in:
Zeno Rogue 2019-07-28 12:31:25 +02:00
parent 6ac5091526
commit a3a22598ba

View File

@ -287,7 +287,7 @@ void display_data::set_projection(int ed) {
xbuffer[z][y][x] = glhr::makevertex(inverse_exp_table[z][y][x][0], inverse_exp_table[z][y][x][1], inverse_exp_table[z][y][x][2]);
glTexImage3D(GL_TEXTURE_3D, 0, 34836 /*GL_RGBA32F*/, PRECX, PRECX, PRECZ, 0, GL_RGBA, GL_FLOAT, xbuffer);
delete xbuffer;
delete[] xbuffer;
}