mirror of
https://github.com/yawut/SDL.git
synced 2026-04-24 07:16:52 -05:00
changeset: 5278:b4b71ec2af73
tag: tip user: Martin Decky <martin@decky.cz> date: Sat Feb 12 22:27:14 2011 +0100 summary: fix typo (assigning height value into displayrect.w instead of displayrect.h)
This commit is contained in:
parent
43c2c12758
commit
f1441f7929
|
|
@ -538,7 +538,7 @@ main(int argc, char **argv)
|
|||
case SDL_WINDOWEVENT:
|
||||
if (event.window.event == SDL_WINDOWEVENT_RESIZED) {
|
||||
displayrect.w = window_w = event.window.data1;
|
||||
displayrect.w = window_h = event.window.data2;
|
||||
displayrect.h = window_h = event.window.data2;
|
||||
}
|
||||
break;
|
||||
case SDL_MOUSEBUTTONDOWN:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user