This commit is contained in:
chacha
2026-02-24 00:19:35 +00:00
parent deb19eb710
commit 14acbae48a
5 changed files with 11 additions and 18 deletions

View File

@@ -16,10 +16,9 @@
*/
#include "cvg.h"
#include "fxpci.h"
#include "sst1init.h"
#include <3dfx.h>
#include <glide.h>
#include "sst1init.h"
#include "fxpci.h"
#include "FaultSources.h"
#include "Utils.h"
@@ -51,9 +50,9 @@ RenderTest( sst1DeviceInfoStruct* devInfo,
ISET(texAddr[2], value1 + 2); ISET(texAddr[3], value1 + 3);
/* writing to second texture line, to use RAM bits 32..63 */
texAddr2 += (1<<(9-2))
ISET(texAddr2[0], value2); ISET(texAddr2[1], value2 + 1);
ISET(texAddr2[2], value2 + 2); ISET(texAddr2[3], value2 + 3);
texAddr += (1<<(9-2))
ISET(texAddr[0], value2); ISET(texAddr[1], value2 + 1);
ISET(texAddr[2], value2 + 2); ISET(texAddr[3], value2 + 3);
/* draw a 8x8triangle */
drawTriangle(sstregs,0,0,8);