.
This commit is contained in:
3
Draw.c
3
Draw.c
@@ -15,9 +15,6 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
//#include "3dfx.h"
|
||||
//#include "cvgregs.h"
|
||||
//#include "cvgdefs.h"
|
||||
#include "cvg.h"
|
||||
#include "glide.h"
|
||||
#include "sst1init.h"
|
||||
|
||||
@@ -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"
|
||||
|
||||
11
Test_Data.c
11
Test_Data.c
@@ -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);
|
||||
|
||||
@@ -21,10 +21,9 @@
|
||||
#include <unistd.h>
|
||||
|
||||
#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"
|
||||
|
||||
Reference in New Issue
Block a user