mipmap allocation for ps2 rasters

This commit is contained in:
aap
2017-08-18 19:28:01 +02:00
parent 7280647085
commit 75435b8934
7 changed files with 946 additions and 205 deletions

View File

@@ -908,6 +908,7 @@ Image::getFilename(const char *name)
Raster*
Raster::create(int32 width, int32 height, int32 depth, int32 format, int32 platform)
{
// TODO: pass arguments through to the driver and create the raster there
Raster *raster = (Raster*)malloc(s_plglist.size);
assert(raster != nil);
raster->platform = platform ? platform : rw::platform;