mirror of
https://github.com/aap/librw.git
synced 2025-12-20 17:39:49 +00:00
fixed bug in im3d; worked on resizing windows
This commit is contained in:
@@ -480,6 +480,9 @@ static void
|
||||
showRaster(Raster *raster)
|
||||
{
|
||||
// TODO: do this properly!
|
||||
|
||||
// not used but we want cameras to have rasters
|
||||
assert(raster);
|
||||
d3ddevice->Present(nil, nil, 0, nil);
|
||||
}
|
||||
|
||||
|
||||
@@ -167,6 +167,7 @@ im3DRenderIndexed(PrimitiveType primType, void *indices, int32 numIndices)
|
||||
memcpy(lockedindices, indices, numIndices*sizeof(uint16));
|
||||
unlockIndices(im3dindbuf);
|
||||
|
||||
d3ddevice->SetIndices(im3dindbuf);
|
||||
d3d::setTexture(0, engine->imtexture);
|
||||
d3d::flushCache();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user