mirror of
https://github.com/MartinOpat/cuda-based-raytrace.git
synced 2025-06-07 02:13:10 +02:00
compiles on robins computer :)
This commit is contained in:
@@ -83,6 +83,7 @@ void Quad::cuda_init(float* data) {
|
||||
|
||||
|
||||
void Quad::render() {
|
||||
check_cuda_errors(cudaGetLastError());
|
||||
glBindTexture(GL_TEXTURE_2D, 0);
|
||||
this->renderer->render();
|
||||
glBindTexture(GL_TEXTURE_2D, this->tex);
|
||||
|
||||
Reference in New Issue
Block a user