# Not able to map pvr compressed texture

**URL:** <https://forums.imgtec.com/t/not-able-to-map-pvr-compressed-texture/2448>\
**Category:** PowerVR Insider\
**Tags:** pvrtextool\
**Created:** [April 7, 2016, 10:38am UTC](https://forums.imgtec.com/t/not-able-to-map-pvr-compressed-texture/2448 "2016-04-07T10:38:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anusha](https://avatars.discourse-cdn.com/v4/letter/a/c5a1d2/32.png) [@anusha](https://forums.imgtec.com/u/anusha)\
**Post date:** [April 7, 2016, 10:38am UTC](https://forums.imgtec.com/t/not-able-to-map-pvr-compressed-texture/2448/1 "2016-04-07T10:38:23Z")

</div>

Hello,

In Opengl ES 2.0 ios, I am not able to map compressed pvr texture to models. I have encoded texture using PVRTextool and am getting the following result,

I have loaded PVRTexture in my game,

Could you please help,

Thank you,

Anusha

---

<div class="post-metadata">

**Author:** ![szhipeng](https://avatars.discourse-cdn.com/v4/letter/s/ce73a5/32.png) [@szhipeng](https://forums.imgtec.com/u/szhipeng)\
**Post date:** [April 8, 2016, 3:18am UTC](https://forums.imgtec.com/t/not-able-to-map-pvr-compressed-texture/2448/2 "2016-04-08T03:18:04Z")

</div>

Hi Anusha,  
Can you provide the API call recording file for this error for me to investigate this issue?  
the rough usage for the compressed texture should like the following.  
Call UID 26: glGenTextures (1 , 1)  
Call UID 27: glBindTexture (GL\_TEXTURE\_2D , 1)  
Call UID 29: glCompressedTexImage2D (GL\_TEXTURE\_2D , 0 , GL\_COMPRESSED\_RGBA\_PVRTC\_4BPPV1\_IMG , 256 , 256 , 0 , 32768 , ~Image(32768 bytes)~)

Please check if there is any error message:D

Thanks,  
Kevin

---

<div class="post-metadata">

**Author:** ![anusha](https://avatars.discourse-cdn.com/v4/letter/a/c5a1d2/32.png) [@anusha](https://forums.imgtec.com/u/anusha)\
**Post date:** [April 9, 2016, 10:02am UTC](https://forums.imgtec.com/t/not-able-to-map-pvr-compressed-texture/2448/3 "2016-04-09T10:02:59Z")

</div>

Hello Kevin,

This is API recording.

GL\_APPLE\_rgb\_422 GL\_APPLE\_sync GL\_APPLE\_texture\_format\_BGRA8888 GL\_APPLE\_texture\_max\_level GL\_APPLE\_texture\_packed\_float GL\_IMG\_read\_format GL\_IMG\_texture\_compression\_pvrtc  
ram: 8730: GL\_TRIANGLES  
BuildStripifyInfo: \> 2 triangles on an edge… uncertain consequences  
BuildStripifyInfo: \> 2 triangles on an edge… uncertain consequences  
ram: 4677: GL\_TRIANGLE\_STRIP

This is no error message,

Thank you,

Anusha
