Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: OpenGL failure in Texture class  (Read 1187 times)

0 Members and 1 Guest are viewing this topic.

MGN001

  • Newbie
  • *
  • Posts: 1
    • View Profile
OpenGL failure in Texture class
« on: September 25, 2013, 04:26:29 am »
I'm writing a game using Visual Studio 2012, and when I load the images for my Player class, I get 2 errors per file:

"An internal OpenGL call failed in Texture.cpp<#> : GL_INVALID_ENUM, an unacceptable value has been specified for an enumerated argument"

The numbers that appear in place of # are 146 and 147.

Ixrec

  • Hero Member
  • *****
  • Posts: 1241
    • View Profile
    • Email
Re: OpenGL failure in Texture class
« Reply #1 on: September 25, 2013, 05:07:10 am »
Show us the code you used and exactly where your debugger said the error occurred.