We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b004460 + 1b78cba commit 1048811Copy full SHA for 1048811
docs/reST/ref/sdl2_video.rst
@@ -378,6 +378,10 @@
378
| :sl:`Get or set the logical Renderer size (a device independent resolution for rendering)`
379
| :sg:`logical_size -> (int width, int height)`
380
381
+ Note: When the rendering target is the main window, and ``logical_size``
382
+ has not been set before, it will contain ``(0, 0)`` and not the size of
383
+ the window.
384
+
385
.. attribute:: scale
386
387
| :sl:`Get the drawing scale for the current rendering target`
0 commit comments