#include "src/lib/planar.h"\r
\r
global_game_variables_t gvar;\r
+bitmap_t bmp;\r
+planar_buf_t near *p;\r
\r
void main(int argc, char *argv[])\r
{\r
- bitmap_t bmp;\r
- planar_buf_t *p;\r
int i;\r
word start;\r
int plane;\r
// t2 = (*clockw-start)/18.2;\r
start = *clockw;\r
for(i=0; i<100 ;i++) {\r
- DrawPBuf(&gvar.video.page[0], gvar.video.page[0].sw-(p->width), gvar.video.page[0].sh-(p->height), p, 0);\r
+ DrawPBuf(&gvar.video.page[0], 0, 0, p, 0);\r
}\r
t2 = (*clockw-start) /18.2;\r
while(!kbhit())\r
fprintf(stderr,"ph=%d\n", p->height);\r
fprintf(stderr,"ppw=%d\n", p->pwidth);\r
fprintf(stderr,"%d\n", sizeof(bmp));\r
+ fprintf(stderr,"%dx%d\n", gvar.video.page[0].sw-(p->width), gvar.video.page[0].sh-(p->height));\r
planar_buf_free(p);\r
fprintf(stderr, "modexDrawBmp: %f\n", t1);\r
fprintf(stderr, "DrawPBuf: %f\n", t2);\r