Join for FREE | Take the Tour Lost Password?
[x]

deviantART

 
About Me Member General Developer carlfoxmartenMale/Canada Recent Activity Deviant for 3 Years
Needs Premium Membership
Statistics 27 Deviations
173 Comments
1,633 Pageviews

D'oh!

Thu Sep 10, 2009, 11:42 PM
Due to a programming style I started when I learned Java (which doesn't apply to C++), I tried to delete the OpenGL texture when any class instance was destroyed, which meant that any copy that was destroyed would remove the texture (and since I was returning an instance, it actually made a local copy and returned a second copy, then destroyed the first one, which meant that no texture actually made it through).

I've since stopped deleting textures on my own and now let the OS deal with it when I'm done, and textures now work perfectly.
(now the only trick is generating them properly)

  • Mood: Regretful

deviantID

No deviantID yet.

Devious Info

  • Interests: Math, software, 3D modeling, art
  • Favourite genre of music: Classical and Jazz
  • Operating System: Ubuntu Linux
  • Shell of choice: bash
  • Favourite game: Team Fortress 2
  • Favourite gaming platform: PC (Linux/Windows 98)
  • Personal Quote: Those who do not understand the wheel are constantly re-inventing it. ~Myself, so far as I know
  • Tools of the Trade: Whatever's free (Blender3D, Firefox, Xfce, Apache, The GIMP, etc.)

deviantART Community Board

[x]

Comments


:iconk3-studio:
A lot of thanks for the FAV. :bow:
:iconsxyfrg:
Thanks for the :+fav: :D

--
Are you a fan of HD widescreen wallpapers? Then look no further | *The-Desktop-Stop
:iconfunerium:
Thanks for the watch, always appreciated. :ahoy:

--
Tired and lonely. Sitting and staring
Weak and filthy. No longer caring
Wasting to nothing. The rubble of you
Hoping for something. Poison where love grew
:iconmrx-ii:
Thank you for watch! =)

--
Check my gallery! =)
My Tube =)
Suomalainen! :dance:
:iconayseselen:
Thank you so much for fav :hug:

--
Visit my gallery
:iconcarlfoxmarten:
You're welcome! :)

--
No ASCII, no getTTY()...
:iconmoonsongwolf:
Thanks for the watch! I appreciate it.

--
Star avatar by the amazingly talented *Kaylink

Consider the daffodil. And while you’re doing that, I’ll be over here, looking through your stuff.
:iconk3-studio:
A lot of thanks for the :+fav: and watch. :bow:
:iconthe-bongmaster:
thnx 4 the watch ;)

--
______________________________ _________________
"Would you kindly pick up that short-wave radio....
...
.... No that's an empty can......Getting warmer...... Stop walking into the wall...
........ Its the bloody thing talking to you! Christ!"
:iconjg-visuals:
Much thanks for the watch Carl.

--
Jamie

Site Map