diff options
| author | Tony Wasserka <neobrainx@gmail.com> | 2014-10-12 15:18:27 +0200 |
|---|---|---|
| committer | Tony Wasserka <neobrainx@gmail.com> | 2014-10-12 15:18:27 +0200 |
| commit | e4905143c8bc1ea8a2c736e025db234fdd82aea8 (patch) | |
| tree | 9eb2c6feaa64d889b9b46b4b5bedd1bb4e185ec9 /src/video_core/video_core.h | |
| parent | 8fb064cd62d3091b88bb2660a0264997f5cb163d (diff) | |
| parent | ac54cd13dbb8e82ccc9134aab212271d2f32b0c8 (diff) | |
Merge pull request #113 from neobrain/opengl_refactor
OpenGL Refactor
Diffstat (limited to 'src/video_core/video_core.h')
| -rw-r--r-- | src/video_core/video_core.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/video_core.h b/src/video_core/video_core.h index 5e8129b5a..609aac513 100644 --- a/src/video_core/video_core.h +++ b/src/video_core/video_core.h @@ -17,6 +17,10 @@ namespace VideoCore { // 3DS Video Constants // ------------------- +// NOTE: The LCDs actually rotate the image 90 degrees when displaying. Because of that the +// framebuffers in video memory are stored in column-major order and rendered sideways, causing +// the widths and heights of the framebuffers read by the LCD to be switched compared to the +// heights and widths of the screens listed here. static const int kScreenTopWidth = 400; ///< 3DS top screen width static const int kScreenTopHeight = 240; ///< 3DS top screen height static const int kScreenBottomWidth = 320; ///< 3DS bottom screen width |
