Load byte* dataArray to openGL


How can I load this array to OPengl?

This array consist pixel of an image


There is everything you need: Texture - OpenGL Wiki

Doctor100, according to my memory (and the forum software that lets me view your previous posts), you are the guy who made like five threads asking how to display a video using OpenGL(R) and previously posted questions on how to solve simple problems with totally unrelated GL functions.

Why don’t you simply start out with a step-by-step, beginner tutorial like this one? What you ask for is neither specific nor advanced; it is something very basic, explained in lots of tutorials.

When you read the neccessary tutorial chapters you might feel inclined to try a few things out on your own, and then, when you have some specific issues, ask about those.

Ok,You are right.Thanks