Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
retro8
Commits
08ea5a41
Commit
08ea5a41
authored
Dec 26, 2019
by
Jack
Browse files
fix to clip rect which was including non existing row and column and bugged with rect fill
parent
f622e305
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/vm/gfx.h
View file @
08ea5a41
...
...
@@ -155,7 +155,7 @@ namespace retro8
uint8_t
x1
;
uint8_t
y1
;
void
reset
()
{
x0
=
y0
=
0
;
x1
=
SCREEN_WIDTH
;
y1
=
SCREEN_HEIGHT
;
}
void
reset
()
{
x0
=
y0
=
0
;
x1
=
SCREEN_WIDTH
-
1
;
y1
=
SCREEN_HEIGHT
-
1
;
}
void
set
(
uint8_t
xs
,
uint8_t
ys
,
uint8_t
xe
,
uint8_t
ye
)
{
x0
=
xs
;
y0
=
ys
;
x1
=
xe
;
y1
=
ye
;
}
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment