Subversion Repositories shark

Rev

Blame | Last modification | View Log | RSS feed


#include "vga.h"
#include "timing.h"
#include "accel.h"


int __svgalib_accel_screenpitch;
int __svgalib_accel_bytesperpixel;
int __svgalib_accel_screenpitchinbytes;
int __svgalib_accel_mode;
int __svgalib_accel_bitmaptransparency;

void __svgalib_InitializeAcceleratorInterface(ModeInfo * modeinfo)
{
    __svgalib_accel_screenpitch = modeinfo->lineWidth / modeinfo->bytesPerPixel;
    __svgalib_accel_bytesperpixel = modeinfo->bytesPerPixel;
    __svgalib_accel_screenpitchinbytes = modeinfo->lineWidth;
    __svgalib_accel_mode = BLITS_SYNC;
    __svgalib_accel_bitmaptransparency = 0;
}