projects
/
dosrtxon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added page flipping/scrolling VBE calls
[dosrtxon]
/
src
/
3dgfx.c
diff --git
a/src/3dgfx.c
b/src/3dgfx.c
index
64fd604
..
a642c1e
100644
(file)
--- a/
src/3dgfx.c
+++ b/
src/3dgfx.c
@@
-117,6
+117,13
@@
void g3d_framebuffer(int width, int height, void *pixels)
g3d_viewport(0, 0, width, height);
}
g3d_viewport(0, 0, width, height);
}
+/* set the framebuffer pointer, without resetting the size */
+void g3d_framebuffer_addr(void *pixels)
+{
+ st->pixels = pixels;
+ pfill_fb.pixels = pixels;
+}
+
void g3d_viewport(int x, int y, int w, int h)
{
st->vport[0] = x;
void g3d_viewport(int x, int y, int w, int h)
{
st->vport[0] = x;