qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] Removed  support for depth!=32
@ 2017-02-27  8:14 Suramya Shah
  2017-02-27  9:59 ` no-reply
  2017-02-27 10:36 ` Peter Maydell
  0 siblings, 2 replies; 4+ messages in thread
From: Suramya Shah @ 2017-02-27  8:14 UTC (permalink / raw)
  To: qemu-devel; +Cc: Suramya Shah

Signed-off-by: Suramya Shah <shah.suramya@gmail.com>
---
 hw/display/sm501_template.h | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/hw/display/sm501_template.h b/hw/display/sm501_template.h
index f33e499..4e5801e 100644
--- a/hw/display/sm501_template.h
+++ b/hw/display/sm501_template.h
@@ -22,13 +22,7 @@
  * THE SOFTWARE.
  */
 
-#if DEPTH == 8
-#define BPP 1
-#define PIXEL_TYPE uint8_t
-#elif DEPTH == 15 || DEPTH == 16
-#define BPP 2
-#define PIXEL_TYPE uint16_t
-#elif DEPTH == 32
+#if DEPTH == 32
 #define BPP 4
 #define PIXEL_TYPE uint32_t
 #else
-- 
2.9.3

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-02-27 11:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-27  8:14 [Qemu-devel] [PATCH] Removed support for depth!=32 Suramya Shah
2017-02-27  9:59 ` no-reply
2017-02-27 10:36 ` Peter Maydell
2017-02-27 11:54   ` Gerd Hoffmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).