Browse Source

change hard-coded photo dir

main
Colin McMillen 1 year ago
parent
commit
ee3af4fc57
  1. 2
      Program.cs

2
Program.cs

@ -306,7 +306,7 @@ public class Game : GameWindow {
GL.VertexAttribPointer(texCoordLocation, 2, VertexAttribPointerType.Float, false, 5 * sizeof(float), 3 * sizeof(float));
// Load textures from JPEGs.
string[] files = Directory.GetFiles(@"c:\users\colin\pictures\photos\2023\06\27\");
string[] files = Directory.GetFiles(@"c:\users\colin\desktop\photos-test\");
foreach (string file in files) {
if (file.ToLower().EndsWith(".jpg")) {
Image<Rgba32> image = Image.Load<Rgba32>(file);

Loading…
Cancel
Save