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