aboutsummaryrefslogtreecommitdiff
path: root/src/sfml/graphics/RectangleShape.zig
diff options
context:
space:
mode:
authortslil clingman <>2021-09-05 21:30:31 -0400
committertslil clingman <>2021-09-05 21:31:59 -0400
commit631c1226691505624c08995b6a2ac81e46a9b17e (patch)
tree88fce088399ba4f4880298729cf98592d631ac70 /src/sfml/graphics/RectangleShape.zig
parenta35ac9be26a148a87283ba51ed92d8c2b95bcd24 (diff)
In response to issue #9629, correct usingnamespace usage
Diffstat (limited to 'src/sfml/graphics/RectangleShape.zig')
-rw-r--r--src/sfml/graphics/RectangleShape.zig6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sfml/graphics/RectangleShape.zig b/src/sfml/graphics/RectangleShape.zig
index 7c18a82..34bb114 100644
--- a/src/sfml/graphics/RectangleShape.zig
+++ b/src/sfml/graphics/RectangleShape.zig
@@ -2,8 +2,8 @@
const sf = struct {
pub usingnamespace @import("../sfml.zig");
- pub usingnamespace system;
- pub usingnamespace graphics;
+ pub usingnamespace sf.system;
+ pub usingnamespace sf.graphics;
};
const RectangleShape = @This();
@@ -124,7 +124,7 @@ ptr: *sf.c.sfRectangleShape,
test "rectangle shape: sane getters and setters" {
const tst = @import("std").testing;
-
+
var rect = try RectangleShape.create(sf.Vector2f{ .x = 30, .y = 50 });
defer rect.destroy();