From faf5f9cf48b5b6697008a1acf7bab5be55b85df5 Mon Sep 17 00:00:00 2001 From: Bart Trzynadlowski Date: Mon, 4 Apr 2016 04:31:26 +0000 Subject: [PATCH] Added a comment about viewports --- Src/Graphics/Legacy3D/Legacy3D.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Src/Graphics/Legacy3D/Legacy3D.cpp b/Src/Graphics/Legacy3D/Legacy3D.cpp index cb5b5d1..82efad4 100644 --- a/Src/Graphics/Legacy3D/Legacy3D.cpp +++ b/Src/Graphics/Legacy3D/Legacy3D.cpp @@ -36,6 +36,16 @@ * 2. Move stuff into vertex shader (vision by 2048? Subtract of 0.5,0.5 for bilinear filtering?) * 3. Just one call to BufferSubData rather than 2 * + * Viewports + * --------- + * + * Ville Linde passed along the following information: + * + * - Bit 0x20 of viewport word 0 disables the viewport when set, according + * to Scud Race's secret menu. Not yet known whether any game uses this. + * - Bits 0x300 of word 0 constitute the viewport number (0-3). Not sure how + * this relates to the priority bits (0x18). + * * Spotlight * --------- *