Skip to content

Commit 1c771b0

Browse files
committed
Update state changes in README with sampler binding.
1 parent 3b326b9 commit 1c771b0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ gltext makes some changes to the GL state as it renders. In most applications, t
1414
* CURRENT_PROGRAM is set to the shared text-drawing shader program
1515
* ACTIVE_TEXTURE is set to TEXTURE0
1616
* TEXTURE_BINDING_2D is set to the Font's cache texture
17+
* SAMPLER_BINDING is set to 0 for TEXTURE0 (OpenGL 3.3 and higher)
1718
* UNPACK_ALIGNMENT is set to 1
1819
* UNPACK_ROW_LENGTH is set to an arbitrary value
1920

0 commit comments

Comments
 (0)