Skip to content

Commit

Permalink
Fix minimum texture size limits to match OpenGL 4.5. Fixes KhronosGro…
Browse files Browse the repository at this point in the history
  • Loading branch information
NogginBops committed Mar 16, 2024
1 parent f50027c commit 061cc8e
Show file tree
Hide file tree
Showing 10 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion gl4/glCompressedTexImage1D.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
<listitem>
<para>
Specifies the width of the texture image.
All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1.
All implementations support texture images that are at least 16384 texels wide. The height of the 1D texture image is 1.
</para>
</listitem>
</varlistentry>
Expand Down
6 changes: 3 additions & 3 deletions gl4/glCompressedTexImage3D.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
<listitem>
<para>
Specifies the width of the texture image.
All implementations support 3D texture images that are at least 16 texels wide.
All implementations support 3D texture images that are at least 2048 texels wide.
</para>
</listitem>
</varlistentry>
Expand All @@ -81,7 +81,7 @@
<listitem>
<para>
Specifies the height of the texture image.
All implementations support 3D texture images that are at least 16 texels
All implementations support 3D texture images that are at least 2048 texels
high.
</para>
</listitem>
Expand All @@ -91,7 +91,7 @@
<listitem>
<para>
Specifies the depth of the texture image.
All implementations support 3D texture images that are at least 16 texels
All implementations support 3D texture images that are at least 2048 texels
deep.
</para>
</listitem>
Expand Down
2 changes: 1 addition & 1 deletion gl4/glTexImage1D.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
<listitem>
<para>
Specifies the width of the texture image.
All implementations support texture images that are at least 1024 texels
All implementations support texture images that are at least 16384 texels
wide. The height of the 1D texture image is 1.
</para>
</listitem>
Expand Down
6 changes: 3 additions & 3 deletions gl4/glTexImage2D.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
<listitem>
<para>
Specifies the width of the texture image.
All implementations support texture images that are at least 1024 texels
All implementations support texture images that are at least 16384 texels
wide.
</para>
</listitem>
Expand All @@ -93,8 +93,8 @@
Specifies the height of the texture image, or the number of layers in a texture
array, in the case of the <constant>GL_TEXTURE_1D_ARRAY</constant> and
<constant>GL_PROXY_TEXTURE_1D_ARRAY</constant> targets.
All implementations support 2D texture images that are at least 1024 texels
high, and texture arrays that are at least 256 layers deep.
All implementations support 2D texture images that are at least 16384 texels
high, and texture arrays that are at least 2048 layers deep.
</para>
</listitem>
</varlistentry>
Expand Down
8 changes: 4 additions & 4 deletions gl4/glTexImage3D.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
<listitem>
<para>
Specifies the width of the texture image.
All implementations support 3D texture images that are at least 16 texels
All implementations support 3D texture images that are at least 2048 texels
wide.
</para>
</listitem>
Expand All @@ -91,7 +91,7 @@
<listitem>
<para>
Specifies the height of the texture image.
All implementations support 3D texture images that are at least 256 texels
All implementations support 3D texture images that are at least 2048 texels
high.
</para>
</listitem>
Expand All @@ -101,8 +101,8 @@
<listitem>
<para>
Specifies the depth of the texture image, or the number of layers in a texture array.
All implementations support 3D texture images that are at least 256 texels
deep, and texture arrays that are at least 256 layers deep.
All implementations support 3D texture images that are at least 2048 texels
deep, and texture arrays that are at least 2048 layers deep.
</para>
</listitem>
</varlistentry>
Expand Down
2 changes: 1 addition & 1 deletion gl4/html/glCompressedTexImage1D.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
<dd>
<p>
Specifies the width of the texture image.
All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1.
All implementations support texture images that are at least 16384 texels wide. The height of the 1D texture image is 1.
</p>
</dd>
<dt>
Expand Down
6 changes: 3 additions & 3 deletions gl4/html/glCompressedTexImage3D.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
<dd>
<p>
Specifies the width of the texture image.
All implementations support 3D texture images that are at least 16 texels wide.
All implementations support 3D texture images that are at least 2048 texels wide.
</p>
</dd>
<dt>
Expand All @@ -137,7 +137,7 @@
<dd>
<p>
Specifies the height of the texture image.
All implementations support 3D texture images that are at least 16 texels
All implementations support 3D texture images that are at least 2048 texels
high.
</p>
</dd>
Expand All @@ -151,7 +151,7 @@
<dd>
<p>
Specifies the depth of the texture image.
All implementations support 3D texture images that are at least 16 texels
All implementations support 3D texture images that are at least 2048 texels
deep.
</p>
</dd>
Expand Down
2 changes: 1 addition & 1 deletion gl4/html/glTexImage1D.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
<dd>
<p>
Specifies the width of the texture image.
All implementations support texture images that are at least 1024 texels
All implementations support texture images that are at least 16384 texels
wide. The height of the 1D texture image is 1.
</p>
</dd>
Expand Down
6 changes: 3 additions & 3 deletions gl4/html/glTexImage2D.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
<dd>
<p>
Specifies the width of the texture image.
All implementations support texture images that are at least 1024 texels
All implementations support texture images that are at least 16384 texels
wide.
</p>
</dd>
Expand All @@ -153,8 +153,8 @@
Specifies the height of the texture image, or the number of layers in a texture
array, in the case of the <code class="constant">GL_TEXTURE_1D_ARRAY</code> and
<code class="constant">GL_PROXY_TEXTURE_1D_ARRAY</code> targets.
All implementations support 2D texture images that are at least 1024 texels
high, and texture arrays that are at least 256 layers deep.
All implementations support 2D texture images that are at least 16384 texels
high, and texture arrays that are at least 2048 layers deep.
</p>
</dd>
<dt>
Expand Down
8 changes: 4 additions & 4 deletions gl4/html/glTexImage3D.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
<dd>
<p>
Specifies the width of the texture image.
All implementations support 3D texture images that are at least 16 texels
All implementations support 3D texture images that are at least 2048 texels
wide.
</p>
</dd>
Expand All @@ -154,7 +154,7 @@
<dd>
<p>
Specifies the height of the texture image.
All implementations support 3D texture images that are at least 256 texels
All implementations support 3D texture images that are at least 2048 texels
high.
</p>
</dd>
Expand All @@ -168,8 +168,8 @@
<dd>
<p>
Specifies the depth of the texture image, or the number of layers in a texture array.
All implementations support 3D texture images that are at least 256 texels
deep, and texture arrays that are at least 256 layers deep.
All implementations support 3D texture images that are at least 2048 texels
deep, and texture arrays that are at least 2048 layers deep.
</p>
</dd>
<dt>
Expand Down

0 comments on commit 061cc8e

Please sign in to comment.