Nvoglnt. dll crash when running OpenGL Application

Source: Internet
Author: User

-- Update 2009/03/22

Recently I realized that the nvoglnt. dll crash is probably dueProgramFor example, if Gl. glableclientstate (GL. gl_texture_coord_array) is enabled );

HoweverCodeDoes not assign a value to texturecoordpointer, which may cause DLL crash.


Therefore, when writing code, you must double check this section.

Bytes -----------------------------------------------------------------------------------------------------------------

The machine graphics card is NVIDIA 8600gt. when running the joglprogram, the system error will be returned directly during the infinitus, and java.exe will crash, which is caused by nvoglnt. DLL caused, checked the information, found that because of NVIDIA OpenGL graphics card driver problems, sweat, once again speechless ah, OpenGL really did not position...

 

Later, I tried to set the compatibility when jogl was created. I didn't enable hardware acceleration and disabled all the advanced features. It was OK...

 

 

/**

* Called from within initcomponents ().

* Hint: to customize the generated code choose 'mimize Code' in the contextmenu

* Of the selected UI component you wish to cutomize in design mode.

* @ Return returns customized glcapabilities.

*/

Public glcapabilities createglcapabilites (){

 

Glcapabilities capabilities = new glcapabilities ();

Capabilities. sethardwareaccelerated (false );

Capabilities. setsamplebuffers (false );

 

 

 

// Try to enable 2x anti aliasing-shoshould be supported on most hardware

// Capabilities. setnumsamples (2 );

// Capabilities. setsamplebuffers (true );

 

Return capabilities;

}

 

--------------------------------------------

Khan, the fact is that there is no OK, the crash problem will still appear occasionally... In this case, I prefer to use the open-source software OpenGL rendering engine...

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.