Fix for windows users

This commit is contained in:
Tim 2023-07-03 16:59:28 +02:00
parent 766c3d68fd
commit c2eec1f22e
4 changed files with 7 additions and 6 deletions

View file

@ -1,10 +1,8 @@
---
# We'll use defaults from the LLVM style, but with 4 columns indentation. # We'll use defaults from the LLVM style, but with 4 columns indentation.
BasedOnStyle: LLVM BasedOnStyle: LLVM
IndentWidth: 4 IndentWidth: 4
---
Language: Cpp Language: Cpp
# Force pointers to the type for C++. # Force pointers to the type for C++.
DerivePointerAlignment: false DerivePointerAlignment: false
PointerAlignment: Left PointerAlignment: Left
---

3
.gitignore vendored
View file

@ -1,2 +1,3 @@
build build
.vscode .vscode
/.vs

View file

@ -84,7 +84,7 @@ Rectangle Context::viewport() const { return impl_->viewport(); }
void Context::clear() { impl_->clear(); } void Context::clear() { impl_->clear(); }
u_int32_t Context::get_error() const { return impl_->get_error(); } uint32_t Context::get_error() const { return impl_->get_error(); }
RGBA Context::clearcolor() const { return impl_->clear_color_; } RGBA Context::clearcolor() const { return impl_->clear_color_; }

View file

@ -33,6 +33,8 @@
#include <iostream> #include <iostream>
#include <vector> #include <vector>
#undef max
namespace paradiso { namespace paradiso {
struct Renderer::impl { struct Renderer::impl {