mirror of
https://github.com/JoeyDeVries/LearnOpenGL.git
synced 2026-01-02 04:37:54 +08:00
spelling: into
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
@@ -67,7 +67,7 @@ See final bullet items below for more info on SIMD.
|
||||
|
||||
- Added STBI_MALLOC, STBI_REALLOC, and STBI_FREE macros for replacing
|
||||
the memory allocator. Unlike other STBI libraries, these macros don't
|
||||
support a context parameter, so if you need to pass a context in to
|
||||
support a context parameter, so if you need to pass a context into
|
||||
the allocator, you'll have to store it in a global or a thread-local
|
||||
variable.
|
||||
|
||||
|
||||
@@ -6,6 +6,6 @@ in float Height;
|
||||
|
||||
void main()
|
||||
{
|
||||
float h = (Height + 16)/32.0f; // shift and scale the height in to a grayscale value
|
||||
float h = (Height + 16)/32.0f; // shift and scale the height into a grayscale value
|
||||
FragColor = vec4(h, h, h, 1.0);
|
||||
}
|
||||
Reference in New Issue
Block a user