git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Usermode/AxWin3 - Clean up unneeded (and silly) log message
[tpg/acess2.git]
/
Usermode
/
Applications
/
axwin3_src
/
WM
/
renderers
/
framebuffer.c
diff --git
a/Usermode/Applications/axwin3_src/WM/renderers/framebuffer.c
b/Usermode/Applications/axwin3_src/WM/renderers/framebuffer.c
index
fc838cb
..
90f0033
100644
(file)
--- a/
Usermode/Applications/axwin3_src/WM/renderers/framebuffer.c
+++ b/
Usermode/Applications/axwin3_src/WM/renderers/framebuffer.c
@@
-16,7
+16,6
@@
typedef struct
{
short W, H;
void *Data;
- char _data[];
} tFBBuffer;
typedef struct
{
@@
-42,6
+41,7
@@
tWMRenderer gRenderer_Framebuffer = {
.IPCHandlers = {
[IPC_FB_COMMIT] = _Handle_Commit,
[IPC_FB_NEWBUF] = _Handle_CreateBuf,
+ //[IPC_FB_SUBBUF] = _Handle_SubBuf,
}
};
@@
-162,7
+162,7
@@
int _Handle_CreateBuf(tWindow *Target, size_t Len, const void *Data)
buf = malloc(sizeof(tFBBuffer) + msg->W * msg->H * 4);
buf->W = msg->W;
buf->H = msg->H;
- buf->Data = buf
->_data
;
+ buf->Data = buf
+ 1
;
info->Buffers[msg->Buffer] = buf;
UCC
git Repository :: git.ucc.asn.au