Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: Testing older code, TB throws up

  1. #11
    just want to refer that there is another great example using glTexImage2D, it is here http://www.thinbasic.com/community/s...ll=1#post60836
    look example Abraxas_SineWave.tbasic . it runs now if we change texture to varptr(texture(1))

  2. #12
    thinBasic MVPs
    Join Date
    May 2007
    Location
    UK
    Posts
    1,427
    Rep Power
    159

    Lightbulb Start at the start

    Quote Originally Posted by primo View Post
    just want to refer that there is another great example using glTexImage2D, it is here http://www.thinbasic.com/community/s...ll=1#post60836
    look example Abraxas_SineWave.tbasic . it runs now if we change texture to varptr(texture(1))
    if you use the version at the first post it works! (without modifying)

    http://www.thinbasic.com/community/s...ll=1#post60794
    Home Desktop : Windows 7 - Intel Pentium (D) - 3.0 Ghz - 2GB - Geforce 6800GS
    Home Laptop : WinXP Pro SP3 - Intel Centrino Duo - 1.73 Ghz - 2 GB - Intel GMA 950
    Home Laptop : Windows 10 - Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz, 2401 Mhz, 2 Core(s), 4 Logical Processor(s) - 4 GB - Intel HD 4400
    Work Desktop : Windows 10 - Intel I7 - 4 Ghz - 8GB - Quadro Fx 370

  3. #13
    Thanks Michael for the note.
    regarding the function glTexImage2D which producing errors in Abraxas_SineWave.tbasic if its parameter is texture instead of varptr(texture(1)) i have downloaded from archive.org thinbasic 1.8, 1.7, 1.6 and it seems they all refuse to consider texture as a pointer, they needs varptr(texture(1)). seems only tb v1.4 (from year 2007) which allow that.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Possible approaches for testing
    By Petr Schreiber in forum thinBasic Beta testing
    Replies: 1
    Last Post: 12-11-2015, 19:06
  2. funDialox demo (testing)
    By Lionheart008 in forum Module Classes
    Replies: 9
    Last Post: 12-05-2012, 09:12
  3. SandBox Testing
    By ISAWHIM in forum Code
    Replies: 15
    Last Post: 12-10-2008, 11:12

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

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