mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-09 19:03:29 +00:00
better layout
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@343 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/* $Id$ */
|
||||
#include <Mw/Milsko.h>
|
||||
|
||||
#include "harvard.c"
|
||||
#include "../harvard.c"
|
||||
|
||||
MwWidget wmain;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/* $Id$ */
|
||||
#define TITLE "boing"
|
||||
#include "oldglut.c"
|
||||
#include "glutlayer.c"
|
||||
|
||||
/*
|
||||
* Bouncing ball demo.
|
||||
@@ -1,6 +1,6 @@
|
||||
/* $Id$ */
|
||||
#define TITLE "cube"
|
||||
#include "oldglut.c"
|
||||
#include "glutlayer.c"
|
||||
|
||||
#include <GL/glu.h>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/* $Id$ */
|
||||
#define TITLE "gears"
|
||||
#include "oldglut.c"
|
||||
#include "glutlayer.c"
|
||||
|
||||
/*
|
||||
* 3-D gear wheels. This program is in the public domain.
|
||||
@@ -389,7 +389,9 @@ void vulkan_setup(MwWidget handle) {
|
||||
|
||||
// Create the Vertex Shader Module.
|
||||
vertFile = fopen("triangle.vert.spv", "rb");
|
||||
if(vertFile == NULL) vertFile = fopen("examples/vkdemos/triangle.vert.spv", "rb");
|
||||
fragFile = fopen("triangle.frag.spv", "rb");
|
||||
if(fragFile == NULL) fragFile = fopen("examples/vkdemos/triangle.frag.spv", "rb");
|
||||
|
||||
fseek(vertFile, 0L, SEEK_END);
|
||||
vertFileSize = ftell(vertFile);
|
||||
Reference in New Issue
Block a user