[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [libcvd-members] libcvd/cvd gl_helpers.h
From: |
Gerhard Reitmayr |
Subject: |
Re: [libcvd-members] libcvd/cvd gl_helpers.h |
Date: |
Tue, 08 May 2007 14:51:09 +0100 |
User-agent: |
Thunderbird 1.5.0.8 (X11/20060911) |
Georg Klein wrote:
>> + struct TextureStore {
>> + static std::map<const void *, GLuint> texIds;
> ^^^^^^
>
> N.B., this will break if you try to use one image from two different
> contexts (not that uncommon.)
true, didn't think of that.
I see the following options:
- use current context as additional index, but adds dependency on glx
headers
- do nothing and warn user in documentation (just a simple tool)
- remove again (I ended up not using it :)
what do you think?
--
Gerhard Reitmayr
MIL, Engineering Department, Cambridge University
http://www.eng.cam.ac.uk/~gr281/