compiles on robins computer :)

This commit is contained in:
Robin committed 2025-01-18 20:24:15 +01:00
1 parent db1b1a60ca
commit c65af95a66
9 files changed
+46 -10

No files matched your search

+1
View File
@@ -6,6 +6,7 @@
#include "Shader.h"
#include "input/Widget.h"
#include "cuda_error.h"
// TODO: Delete
+1
View File
@@ -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);
+1 -1
View File
@@ -65,7 +65,7 @@ void Widget::tick(double fps) {
this->renderOnce = true;
}
sprintf(this->fps, "%.3f fps\n", fps);
ImGui::Text(this->fps);
ImGui::Text("%s", this->fps);
ImGui::End();
ImGui::Begin("Camera Controls");
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.