mirror of
https://github.com/MartinOpat/cuda-based-raytrace.git
synced 2025-06-07 02:13:10 +02:00
small fix
This commit is contained in:
@@ -72,8 +72,8 @@ FieldData GPUBufferHandler::nextFieldData() {
|
|||||||
fieldInd = newFieldInd;
|
fieldInd = newFieldInd;
|
||||||
|
|
||||||
if (newBufferInd != bufferInd) {
|
if (newBufferInd != bufferInd) {
|
||||||
fileInd++;
|
|
||||||
gpuBuffer.loadFile(fileInd, bufferInd);
|
gpuBuffer.loadFile(fileInd, bufferInd);
|
||||||
|
fileInd++;
|
||||||
bufferInd = newBufferInd;
|
bufferInd = newBufferInd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user