File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change 210
210
211
211
#define WP_VERSION_MAJOR 1 /* non-backwards-compatible changes */
212
212
#define WP_VERSION_MINOR 3 /* backwards compatible api changes */
213
- #define WP_VERSION_PATCH 0 /* backwards-compatible changes */
213
+ #define WP_VERSION_PATCH 1 /* backwards-compatible changes */
214
214
215
215
#define STRINGIFY_ (x ) #x
216
216
#define STRINGIFY (x ) STRINGIFY_(x)
@@ -805,10 +805,9 @@ int wp_fullscreen(wnd_t wnd)
805
805
{
806
806
HMONITOR mon ;
807
807
MONITORINFO mi ;
808
- RECT current_rect ;
808
+ rect_t current_rect ;
809
809
810
- if (!GetWindowRect (wnd , & current_rect )) {
811
- wp_err ("GetWindowRect failed, GLE=%08X" , GetLastError ());
810
+ if (wp_get_rect (wnd , & current_rect )) {
812
811
return 1 ;
813
812
}
814
813
@@ -834,10 +833,9 @@ int wp_fullscreen(wnd_t wnd)
834
833
WEEBAPI
835
834
int wp_panoramic (wnd_t wnd )
836
835
{
837
- RECT r ;
836
+ rect_t r ;
838
837
839
- if (!GetWindowRect (wp_id (), & r )) {
840
- wp_err ("GetWindowRect failed, GLE=%08X" , GetLastError ());
838
+ if (wp_get_rect (wp_id (), & r )) {
841
839
return 1 ;
842
840
}
843
841
You can’t perform that action at this time.
0 commit comments