• entries
    707
  • comments
    1173
  • views
    432934

Untitled

Sign in to follow this  
Programmer16

97 views

Well my friend decided to be a good friend and not show up or call today to take me to get my lip pierced. It's really nice knowing that the only person I can depend on is myself. I can't even depend on my parents because my dad is gone all day and the only vehicle for my mom to use is mine.

Anyway, I've found a pretty fucked up problem. I have my textures stored as a static map using boost::weak_ptr (std::map >). The bug comes in when it comes time to clean up. If I create 50 entities that use the same texture, everything works fine and the texture is released. However, if I go up to around 100, the texture doesn't get released (even though my smart pointer says that it's uses are at 1 like it should.)

So, I guess I get to spend the rest of the night figuring this problem out.
Sign in to follow this  


5 Comments


Recommended Comments

Quote:
Original post by Programmer16
It's really nice knowing that the only person I can depend on is myself.


Yep. That really comes into focus the older you get.

In other news: Don't get your lip pierced... Why? Because. It doesn't look professional, and you look like a guy with a great persona that would carry himself in a professional mannor. A damn lip ring isn't going to help that at all.

Anyway, that's my opinion. Take it for what it is worth.

Share this comment


Link to comment
I appreciate the concern guys, and I really appreciate the compliment ildave1, but to be honest I've already set my mind on this. I've got a little while now before I can do it, so I'll definitely keep thinking about it, but I'm pretty sure I'm getting it.

Thanks again! I really do appreciate it.

Share this comment


Link to comment
Quote:
Original post by Programmer16
I've already set my mind on this


Yeah, I assure you I understand what happens when a person puts their mind toward something. I did have an ear ring for a while, while everybody told me not too... But I ended up taking it out pretty soon after I got it.

Same goes for the Marines. I wanted in, everybody told me I was crazy, I went in anyway and had a blast (sort of). Sometimes you just gotta do your own thing, but be willing to listen to other people and take their opinions for what they're worth.

But yeah, I agree with link (except for calling me stupid!)... Rings should really never head south from the ear. My only exception is a belly button ring, and, well, I hope you don't want one of those.... Haha. ;)

Recently, my girlfriend has really wanted to get a little diamond put on the side of her nose. O_O... Luckly, I talked her out of that one.

Ok. It's late, i'm going to bed. *faints*

Share this comment


Link to comment
Quote:
Original post by ildave1
Quote:
Original post by Programmer16
I've already set my mind on this


Yeah, I assure you I understand what happens when a person puts their mind toward something. I did have an ear ring for a while, while everybody told me not too... But I ended up taking it out pretty soon after I got it.

Same goes for the Marines. I wanted in, everybody told me I was crazy, I went in anyway and had a blast (sort of). Sometimes you just gotta do your own thing, but be willing to listen to other people and take their opinions for what they're worth.

But yeah, I agree with link (except for calling me stupid!)... Rings should really never head south from the ear. My only exception is a belly button ring, and, well, I hope you don't want one of those.... Haha. ;)

Recently, my girlfriend has really wanted to get a little diamond put on the side of her nose. O_O... Luckly, I talked her out of that one.

Ok. It's late, i'm going to bed. *faints*

Lol, yea. Like I told my mom "It may be a mistake, but it's mine to make ^_^." I haven't made many bad decisions really, so I guess I'm due lol.

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now