summaryrefslogtreecommitdiff
path: root/include/nsfb.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2012-03-22 16:55:36 +0000
committerVincent Sanders <vince@netsurf-browser.org>2012-03-22 16:55:36 +0000
commit51d8264eb1e8f705635cd0af2c0e9dddaf855711 (patch)
tree25bdda51e22072965b65545fabea1cf957f6d303 /include/nsfb.h
parent4875d9f650071c8cd6d2976ea6f88f18bc8cc10b (diff)
downloadlibnsfb-51d8264eb1e8f705635cd0af2c0e9dddaf855711.tar.gz
libnsfb-51d8264eb1e8f705635cd0af2c0e9dddaf855711.tar.bz2
basic fixes for linux framebuffer surface
svn path=/trunk/libnsfb/; revision=13550
Diffstat (limited to 'include/nsfb.h')
-rw-r--r--include/nsfb.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/nsfb.h b/include/nsfb.h
index 9b1619c..5caff9b 100644
--- a/include/nsfb.h
+++ b/include/nsfb.h
@@ -20,12 +20,10 @@ struct nsfb_s {
int width; /**< Visible width. */
int height; /**< Visible height. */
- int bpp;
+ char *parameters;
enum nsfb_format_e format; /**< Framebuffer format */
-
- int refresh; /**< Desired refresh rate for physical displays. */
- char *output_dev; /**> Path to output device for surfaces that require it. */
+ int bpp; /**< Bits per pixel - distinct from format */
uint8_t *ptr; /**< Base of video memory. */
int linelen; /**< length of a video line. */