Correct the declaration of hipBindTexture()

The texture reference needs to be passed as a constant pointer.

Change-Id: I36ca0bddaba30becfc2ce70dd9e5b7db66c57f27
This commit is contained in:
Vladislav Sytchenko
2020-03-17 16:47:54 -04:00
کامیت شده توسط Vladislav Sytchenko
والد 551bcc6293
کامیت 7190fa518e
2فایلهای تغییر یافته به همراه10 افزوده شده و 1 حذف شده
+1 -1
مشاهده پرونده
@@ -607,7 +607,7 @@ hipError_t hipUnbindTexture(const textureReference* texref) {
}
hipError_t hipBindTexture(size_t* offset,
textureReference* texref,
const textureReference* texref,
const void* devPtr,
const hipChannelFormatDesc* desc,
size_t size) {