E60032 2 cat code

E60032 2 cat code

We are searching data for your request:

Forums and discussions:
Manuals and reference books:
Data from registers:
Wait the end of the search in all databases.
Upon completion, a link will appear to access the found materials.

E60032 2 cat code:0x5a : 0x00000000 | 0x00000001

In this case, it doesn't change anything.


You are not calling glFramebufferTexture2D at all, even though that is the function you say you called, the return value you show is a GL_FRAMEBUFFER, which is the same return value that glReadPixels and similar functions return.

Your function is missing the call to glFramebufferTexture2D:

GLuint FBO[1],

glGenFramebuffers(1, FBO),

//glGenFramebuffers(1, &,FBO),

glGenFramebuffers(1, &,FBO),

glBindFramebuffer(GL_DRAW_FRAMEBUFFER, FBO[0]),

glBindFramebuffer(GL_READ_FRAMEBUFFER, 0),

glBindFramebuffer(GL_DRAW_FRAMEBUFFER, 0),

//glBindFramebuffer(GL_READ_FRAMEBUFFER, FBO[0]),



And here you are calling glFramebufferTexture2D:

glGenTextures(1, &,tex),

glBindTexture(GL_TEXTURE_2D, tex),

glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, _width, _height, 0, GL_RGBA, GL_UNSIGNED_BYTE, NULL),



This problem (framebuffer object corruption) was fixed in OpenGL 4.3 and higher by:

I had a similar problem myself with OpenGL 3.2 and a GeForce 5200 which I could resolve with the solution posted.


The problem seems to be that a framebuffer object was removed from the list of framebuffer objects to be bound when you tried to bind another framebuffer.

You'll need to reset the binding index, then bind agn.

The documentation for glBindFramebuffer() says

GL_READ_FRAMEBUFFER, GL_DRAW_FRAMEBUFFER, and GL_FRAMEBUFFER should always be used with the last argument specifying a context to bind the framebuffer to. If the specified context is NULL, GL_DRAW_FRAMEBUFFER is assumed, and GL_READ_FRAMEBUFFER is assumed if GL_DRAW_FRAMEBUFFER is not specified.

You are creating a framebuffer object, then you bind it with:

// Bind framebuffer 0

glBindFramebuffer(GL_DRAW_FRAMEBUFFER, framebufferId),

then you try to bind framebuffer 2:

// Bind framebuffer 2

glBindFramebuffer(GL_READ_FRAMEBUFFER, framebufferId),

You'll need to update framebufferId to reflect the change, then bind it agn.

If you bind a framebuffer multiple times, the last binding is effectively "sticky", and is used until a binding that is at least GL_INVALID_FRAMEBUFFER_OPERATION occurs.

The framebuffer index is just the offset into the framebuffer object array.

If you want to bind the same framebuffer multiple times, just increment the index.

Watch the video: CAT ET Caterpillar Electronic Technician (May 2022).


  1. Ammitai

    I mean, you allow the mistake. I can prove it.

  2. Brandyn

    Well done, you were visited by the excellent idea

  3. Kingdon

    I consider, that you are not right. Write to me in PM.

  4. Prior

    Klass ... horse in gas maskeeeeeeeeeeeee

  5. Nathan

    Your opinion is your opinion

  6. Shaan

    I think he is wrong. I propose to discuss it. Write to me in PM.

  7. Akigor

    In my opinion you commit an error. I suggest it to discuss. Write to me in PM.

Write a message

Video, Sitemap-Video, Sitemap-Videos