Remove duplicate operator statements (#338)

* Remove duplicate operator statements

* Make raylib not introduce the operators
This commit is contained in:
Rob Loach
2024-11-14 13:33:56 -05:00
committed by GitHub
parent 7b9fd03cac
commit 3a6e7bbdd3
20 changed files with 51 additions and 43 deletions

View File

@@ -60,7 +60,7 @@ int main(int argc, char* argv[]) {
{
// Loading
raylib::Image image(path + "/resources/feynman.png");
Assert(image.IsReady());
Assert(image.IsValid());
// Chaining
image.Crop(100, 100).Resize(50, 50);
@@ -108,7 +108,7 @@ int main(int argc, char* argv[]) {
// Wave
{
raylib::Wave wave(path + "/resources/weird.wav");
Assert(wave.IsReady(), "Expected wave to be loaded correctly");
Assert(wave.IsValid(), "Expected wave to be loaded correctly");
}
// RaylibException