mirror of
https://github.com/libSDL2pp/libSDL2pp.git
synced 2025-08-04 03:15:59 -04:00
Merge pull request #59 from ooxi/patch-1
Fix wrong method name in example
This commit is contained in:
commit
8812b8e70b
@ -46,7 +46,7 @@ try {
|
||||
sprite1.Update(Rect(0, 0, 16, 16), pixels, 16 * 4);
|
||||
|
||||
// Most setter methods are chainable
|
||||
renderer.SetLogicalSize(640, 480).SetRenderColor(0, 16, 32).Clear();
|
||||
renderer.SetLogicalSize(640, 480).SetDrawColor(0, 16, 32).Clear();
|
||||
|
||||
// Also note a safe way to specify null rects and points
|
||||
renderer.Copy(sprite1, NullOpt, NullOpt);
|
||||
|
Loading…
x
Reference in New Issue
Block a user