forked from pyrite-dev/milsko
fix clipping
This commit is contained in:
parent
dbb436f5a2
commit
ca7e50d911
2 changed files with 3 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ int main() {
|
|||
// MwNpixmap, px,
|
||||
// NULL);
|
||||
MwViewportSetSize(vp, 1024, 1024);
|
||||
MwCreateWidget(MwButtonClass, "btn", MwViewportGetViewport(vp), 256, 256, 128, 128);
|
||||
MwCreateWidget(MwButtonClass, "btn", MwViewportGetViewport(vp), -64, 256, 128, 128);
|
||||
|
||||
MwAddUserHandler(w, MwNresizeHandler, resize, NULL);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue