ive tried the following code, the rc, dc and so on are correctly set, but i
get a max texture size of 3095472, is there something wrong with my code, or
is it something else ???
Are you REALLY sure you have the RC setup properly? Try explicitly set the variable max_texture_size to something before calling glGetIntegerv. If the value does not change, it problem is probably the RC not being valid.