Skip to content

Commit 7019081

Browse files
logmanPLColin Robertson
authored andcommitted
Fix: -Correct texture dimension in Table "Texture Size limitation" (MicrosoftDocs#222)
1 parent 5d3e331 commit 7019081

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/parallel/amp/graphics-cpp-amp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ void createTextureWithBPC() { // Create the source data.
135135
|-------------|---------------------|
136136
|texture\<T,1>|16384|
137137
|texture\<T,2>|16384|
138-
|texture\<T,2>|2048|
138+
|texture\<T,3>|2048|
139139

140140
### Reading from Texture Objects
141141
You can read from a `texture` object by using [texture::operator\[\]](reference/texture-class.md#operator_at), [texture::operator() Operator](reference/texture-class.md#operator_call), or [texture::get Method](reference/texture-class.md#get). The two operators return a value, not a reference. Therefore, you cannot write to a `texture` object by using `texture::operator\[\]`.

0 commit comments

Comments
 (0)