qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Suramya Shah <shah.suramya@gmail.com>
To: qemu-devel@nongnu.org
Cc: Suramya Shah <shah.suramya@gmail.com>
Subject: [Qemu-devel] [PATCH] Removed  support for depth!=32
Date: Mon, 27 Feb 2017 13:44:56 +0530	[thread overview]
Message-ID: <20170227081456.7131-1-shah.suramya@gmail.com> (raw)

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

             reply	other threads:[~2017-02-27  8:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-27  8:14 Suramya Shah [this message]
2017-02-27  9:59 ` [Qemu-devel] [PATCH] Removed support for depth!=32 no-reply
2017-02-27 10:36 ` Peter Maydell
2017-02-27 11:54   ` Gerd Hoffmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170227081456.7131-1-shah.suramya@gmail.com \
    --to=shah.suramya@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).