From 2657e748d067739a97bd6d51a2b2cb3f762470a3 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Mon, 6 Mar 2023 14:01:40 +0300
Subject: [PATCH] IMG_ImageIO.m: correction to online reference, fix UTF-8
---
IMG_ImageIO.m | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/IMG_ImageIO.m b/IMG_ImageIO.m
index 3a7a2c0d..eba017e1 100644
--- a/IMG_ImageIO.m
+++ b/IMG_ImageIO.m
@@ -189,7 +189,10 @@ static CFDictionaryRef CreateHintDictionary(CFStringRef uti_string_hint)
{
/* This code is adapted from Apple's Documentation found here:
* http://developer.apple.com/documentation/GraphicsImaging/Conceptual/OpenGL-MacProgGuide/index.html
- * Listing 9-4â â Using a Quartz image as a texture source.
+ * http://developer.apple.com/documentation/GraphicsImaging/Conceptual/OpenGL-MacProgGuide/opengl_texturedata/chapter_10_section_5.html
+ * Creating a Texture from a Quartz Image Source
+ * Listing 9-4 Using a Quartz image as a texture source.
+ *
* Unfortunately, this guide doesn't show what to do about
* non-RGBA image formats so I'm making the rest up.
* All this code should be scrutinized.