title: OpenGL texture color issue
body: <p>I'm loading raw texture (with alpha channel) and displaying it in openGL everything is fine and texture displayed, but color is little bit darker than original. I already tried to turn of lighting, blending and dithering, but this doesn't helps.</p>
  
  <p>I'm using mac osx.</p>
  
  <p>Sample image</p>
  
  <p><img src="https://i.stack.imgur.com/iDkZv.jpg" alt="Sample image">
  <a href="http://postimage.org/image/2wi1x5jic/" rel="nofollow noreferrer">http://postimage.org/image/2wi1x5jic/</a></p>
  
  <p>Here's openGL texture loading source code:</p>
  
  <pre><code>glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
  glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
  
  glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA , width, height, 0, GL_RGBA, GL_UNSIGNED_BYTE, &amp;bytes[0]);
  </code></pre>
  
  <p>EDIT:</p>
  
  <p>Thats very weird, I used example from <a href="http://forums.tigsource.com/index.php?topic=9560.0" rel="nofollow noreferrer">http://forums.tigsource.com/index.php?topic=9560.0</a>
  and received same glitch ... So the problem not im my code, maybe driver options? Hm ...</p>
  
  <p>SOLUTION:</p>
  
  <p>Thanks @datenwolf, images were saved with sRrgb color profile. Problem is solved once I removed it and converted to RGB. </p>