mirror of
https://github.com/allankoechke/raylib-cpp.git
synced 2026-11-30 10:59:00 +00:00
Remove duplicate operator statements (#338)
* Remove duplicate operator statements * Make raylib not introduce the operators
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user