better layout

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@343 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-10-15 13:58:56 +00:00
parent d3a951abd5
commit ba9b6750d5
19 changed files with 10 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
/* $Id$ */
#include <Mw/Milsko.h>
#include "harvard.c"
#include "../harvard.c"
MwWidget wmain;

View File

@@ -1,6 +1,6 @@
/* $Id$ */
#define TITLE "boing"
#include "oldglut.c"
#include "glutlayer.c"
/*
* Bouncing ball demo.

View File

@@ -1,6 +1,6 @@
/* $Id$ */
#define TITLE "cube"
#include "oldglut.c"
#include "glutlayer.c"
#include <GL/glu.h>

View File

@@ -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.

View File

@@ -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);