better layout
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@343 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
d3a951abd5
commit
ba9b6750d5
19 changed files with 10 additions and 8 deletions
|
|
@ -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);
|
||||
Loading…
Add table
Add a link
Reference in a new issue