What I've gathered around the internet and various sources is that DirectX has pretty much taken a stronghold grip onto the graphics API domain. And to be honest, I gave learning DirectX10 a chance, but I just cannot stand how things are initialized; it made it very difficult to really learn the actual 3D portion.
OpenGL on the other hand makes much more sense from a "coding" perspective to me, but I'm not sure if I want to invest time into something that "isn't going to last". I don't keep up with the latest news, nor know much about the "war" that goes on between OpenGL and DirectX. With that being said, is OpenGL going away anytime soon? The thing I like about OpenGL is that there are many more resources available (whether through books/tutorials/samples) than for DirectX, so it's a lot easier to learn.
So is it still a good time to learn OpenGL, or is DirectX just the future? Now I know there are 100,000 topics talking about which is better but that's not what I'm asking. I'm just asking if OpenGL is gonna stick around.