Page 3 of 3 FirstFirst 123
Results 21 to 23 of 23

Thread: Problems in performing Saxpy with mapping/unmapping

  1. #21
    Junior Member
    Join Date
    Aug 2011
    Posts
    25

    Re: Problems in performing Saxpy with mapping/unmapping

    Or do I have to declare the buffers as local variables inside the loop (instead of simply declaring them as global and (re)allocate them each iteration)?

  2. #22

    Re: Problems in performing Saxpy with mapping/unmapping

    Yes, declare the buffers as local variables inside the loop so that upon leaving the scope of the loop those local variables, that is, the buffers, are released.

  3. #23
    Junior Member
    Join Date
    Aug 2011
    Posts
    25

    Re: Problems in performing Saxpy with mapping/unmapping

    You are right, now it works Thank you thousands thousands thousands!

Page 3 of 3 FirstFirst 123

Similar Threads

  1. Texture mapping
    By Giacomo in forum OpenGL ES general technical discussions
    Replies: 3
    Last Post: 06-28-2005, 08:04 AM
  2. question about texture mapping.
    By night96 in forum OpenGL ES general technical discussions
    Replies: 1
    Last Post: 05-29-2005, 07:05 PM
  3. Texture mapping in Opengl ES ?
    By gautam in forum OpenGL ES general technical discussions
    Replies: 4
    Last Post: 10-23-2004, 01:24 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •